summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/shared_memory.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-19 15:05:04 +0100
committerLioncash <mathew1800@gmail.com>2018-11-19 15:20:29 +0100
commit233e495c1411a813460ce71efb7be69ff73649ee (patch)
tree779b543b44f0f5ed7a2515d0d54e0d2082047253 /src/core/hle/kernel/shared_memory.h
parentkernel/shared_memory: Add a const qualified member function overload for GetPointer() (diff)
downloadyuzu-233e495c1411a813460ce71efb7be69ff73649ee.tar
yuzu-233e495c1411a813460ce71efb7be69ff73649ee.tar.gz
yuzu-233e495c1411a813460ce71efb7be69ff73649ee.tar.bz2
yuzu-233e495c1411a813460ce71efb7be69ff73649ee.tar.lz
yuzu-233e495c1411a813460ce71efb7be69ff73649ee.tar.xz
yuzu-233e495c1411a813460ce71efb7be69ff73649ee.tar.zst
yuzu-233e495c1411a813460ce71efb7be69ff73649ee.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/shared_memory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/shared_memory.h b/src/core/hle/kernel/shared_memory.h
index f3b05e48b..0b48db699 100644
--- a/src/core/hle/kernel/shared_memory.h
+++ b/src/core/hle/kernel/shared_memory.h
@@ -99,16 +99,16 @@ public:
* @param permissions Memory block map permissions (specified by SVC field)
* @param other_permissions Memory block map other permissions (specified by SVC field)
*/
- ResultCode Map(Process* target_process, VAddr address, MemoryPermission permissions,
+ ResultCode Map(Process& target_process, VAddr address, MemoryPermission permissions,
MemoryPermission other_permissions);
/**
* Unmaps a shared memory block from the specified address in system memory
- * @param target_process Process from which to umap the memory block.
+ * @param target_process Process from which to unmap the memory block.
* @param address Address in system memory where the shared memory block is mapped
* @return Result code of the unmap operation
*/
- ResultCode Unmap(Process* target_process, VAddr address);
+ ResultCode Unmap(Process& target_process, VAddr address);
/**
* Gets a pointer to the shared memory block