From 93408b162012f20dd87ed23567264c5df344d68b Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sat, 4 Mar 2017 22:17:26 +0100 Subject: [PATCH] Amend latest PR/commit --- libctru/include/3ds/svc.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libctru/include/3ds/svc.h b/libctru/include/3ds/svc.h index a19b71d..f75f283 100644 --- a/libctru/include/3ds/svc.h +++ b/libctru/include/3ds/svc.h @@ -438,20 +438,20 @@ Result svcCreateMemoryBlock(Handle* memblock, u32 addr, u32 size, MemPerm my_per Result svcMapMemoryBlock(Handle memblock, u32 addr, MemPerm my_perm, MemPerm other_perm); /** - * @brief Maps a block of process memory. + * @brief Maps a block of process memory, starting from address 0x00100000. * @param process Handle of the process. - * @param startAddr Start address of the block of memory to map. - * @param size Size of the block of the memory to map (truncated to a multiple of 0x1000 bytes). + * @param destAddress Address of the block of memory to map, in the current (destination) process. + * @param size Size of the block of memory to map (truncated to a multiple of 0x1000 bytes). */ -Result svcMapProcessMemory(Handle process, u32 startAddr, u32 size); +Result svcMapProcessMemory(Handle process, u32 destAddress, u32 size); /** - * @brief Unmaps a block of process memory. + * @brief Unmaps a block of process memory, starting from address 0x00100000. * @param process Handle of the process. - * @param startAddr Start address of the block of memory to unmap. - * @param size Size of the block of the memory to map (truncated to a multiple of 0x1000 bytes). + * @param destAddress Address of the block of memory to unmap, in the current (destination) process. + * @param size Size of the block of memory to unmap (truncated to a multiple of 0x1000 bytes). */ -Result svcUnmapProcessMemory(Handle process, u32 startAddr, u32 size); +Result svcUnmapProcessMemory(Handle process, u32 destAddress, u32 size); /** * @brief Unmaps a block of shared memory