diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-04 22:25:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 22:25:05 +0100 |
commit | 1ddc18454ed37a0defb34e60e875cdf1e963f77f (patch) | |
tree | 3e7b5c928b3edda7521154f27fb048bdeee92270 /src/core/hle/kernel/shared_memory.h | |
parent | Merge pull request #159 from mailwl/acc0-fix (diff) | |
parent | GetInfo: Implement IsCurrentProcessBeingDebugged. (diff) | |
download | yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.gz yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.bz2 yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.lz yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.xz yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.zst yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.zip |
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. |