diff options
| author | bunnei <bunneidev@gmail.com> | 2018-02-04 13:25:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-04 13:25:05 -0800 |
| commit | 1ddc18454ed37a0defb34e60e875cdf1e963f77f (patch) | |
| tree | 3e7b5c928b3edda7521154f27fb048bdeee92270 /src/core/hle/kernel/shared_memory.h | |
| parent | eaf75ea9706681a8b0a939ed01fc77eeb60feb70 (diff) | |
| parent | 42fc437268f10c96752abd118076aa998b5f9ee8 (diff) | |
Merge pull request #160 from bunnei/svc-improvements
Several SVC fixes and improvements
Diffstat (limited to 'src/core/hle/kernel/shared_memory.h')
| -rw-r--r-- | src/core/hle/kernel/shared_memory.h | 4 |
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. |
