summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/shared_memory.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-03 19:36:54 +0100
committerbunnei <bunneidev@gmail.com>2018-02-03 19:36:54 +0100
commit647364db8fa7792b640a035d410feb12e3fde848 (patch)
tree0fafe09f290bbb8872aaa0c2817e006c1acfe337 /src/core/hle/kernel/shared_memory.h
parentArbitrateLock: Assert that requesting_thread is current_thread. (diff)
downloadyuzu-647364db8fa7792b640a035d410feb12e3fde848.tar
yuzu-647364db8fa7792b640a035d410feb12e3fde848.tar.gz
yuzu-647364db8fa7792b640a035d410feb12e3fde848.tar.bz2
yuzu-647364db8fa7792b640a035d410feb12e3fde848.tar.lz
yuzu-647364db8fa7792b640a035d410feb12e3fde848.tar.xz
yuzu-647364db8fa7792b640a035d410feb12e3fde848.tar.zst
yuzu-647364db8fa7792b640a035d410feb12e3fde848.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/shared_memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/shared_memory.h b/src/core/hle/kernel/shared_memory.h
index e948819c0..86f818e90 100644
--- a/src/core/hle/kernel/shared_memory.h
+++ b/src/core/hle/kernel/shared_memory.h
@@ -39,7 +39,7 @@ public:
* linear heap.
* @param name Optional object name, used for debugging purposes.
*/
- static SharedPtr<SharedMemory> Create(SharedPtr<Process> owner_process, u32 size,
+ static SharedPtr<SharedMemory> Create(SharedPtr<Process> owner_process, u64 size,
MemoryPermission permissions,
MemoryPermission other_permissions, VAddr address = 0,
MemoryRegion region = MemoryRegion::BASE,
@@ -116,7 +116,7 @@ public:
/// Offset into the backing block for this shared memory.
size_t backing_block_offset;
/// Size of the memory block. Page-aligned.
- u32 size;
+ u64 size;
/// Permission restrictions applied to the process which created the block.
MemoryPermission permissions;
/// Permission restrictions applied to other processes mapping the block.