Fix svc(Un)mapProcessMemory typo/misconception

This commit is contained in:
TuxSH 2017-03-04 21:51:10 +01:00 committed by fincs
parent ec0b9d8033
commit cc2928427b

View File

@ -440,18 +440,18 @@ Result svcMapMemoryBlock(Handle memblock, u32 addr, MemPerm my_perm, MemPerm oth
/** /**
* @brief Maps a block of process memory. * @brief Maps a block of process memory.
* @param process Handle of the process. * @param process Handle of the process.
* @param startAddr Start address of the memory to map. * @param startAddr Start address of the block of memory to map.
* @param endAddr End address of the memory to map. * @param size Size of the block of the memory to map (truncated to a multiple of 0x1000 bytes).
*/ */
Result svcMapProcessMemory(Handle process, u32 startAddr, u32 endAddr); Result svcMapProcessMemory(Handle process, u32 startAddr, u32 size);
/** /**
* @brief Unmaps a block of process memory. * @brief Unmaps a block of process memory.
* @param process Handle of the process. * @param process Handle of the process.
* @param startAddr Start address of the memory to unmap. * @param startAddr Start address of the block of memory to unmap.
* @param endAddr End address of the memory to unmap. * @param size Size of the block of the memory to map (truncated to a multiple of 0x1000 bytes).
*/ */
Result svcUnmapProcessMemory(Handle process, u32 startAddr, u32 endAddr); Result svcUnmapProcessMemory(Handle process, u32 startAddr, u32 size);
/** /**
* @brief Unmaps a block of shared memory * @brief Unmaps a block of shared memory