From e09ad16003345dc1cb07756942a8651a147606de Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Sat, 23 Dec 2023 14:24:47 -0500 Subject: [PATCH] Clarify a comment --- ctru-rs/src/services/ir_user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/services/ir_user.rs b/ctru-rs/src/services/ir_user.rs index 7992de9..bb451d0 100644 --- a/ctru-rs/src/services/ir_user.rs +++ b/ctru-rs/src/services/ir_user.rs @@ -65,7 +65,7 @@ impl IrUser { ))?; // Calculate the shared memory size. - // Shared memory length must be page aligned. + // Shared memory length must be a multiple of the page size. let minimum_shared_memory_len = SHARED_MEM_INFO_SECTIONS_SIZE + recv_buffer_size + send_buffer_size; let shared_memory_len = round_up(minimum_shared_memory_len, PAGE_SIZE);