diff options
author | Jens Schmer <jens.schmer+git@gmail.com> | 2018-12-10 19:42:01 +0100 |
---|---|---|
committer | Jens Schmer <jens.schmer+git@gmail.com> | 2018-12-12 17:25:56 +0100 |
commit | ae390ad5a2571cec79d4a7a7b175ac4738e6c748 (patch) | |
tree | 4197e8decd64b3974add609d6bc9983030c3ad96 /src/core/hle/kernel/shared_memory.h | |
parent | Merge pull request #1891 from DarkLordZach/istorage-getsize (diff) | |
download | yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.tar yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.tar.gz yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.tar.bz2 yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.tar.lz yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.tar.xz yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.tar.zst yuzu-ae390ad5a2571cec79d4a7a7b175ac4738e6c748.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/shared_memory.h | 6 |
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 0b48db699..dab2a6bea 100644 --- a/src/core/hle/kernel/shared_memory.h +++ b/src/core/hle/kernel/shared_memory.h @@ -45,8 +45,8 @@ public: * linear heap. * @param name Optional object name, used for debugging purposes. */ - static SharedPtr<SharedMemory> Create(KernelCore& kernel, SharedPtr<Process> owner_process, - u64 size, MemoryPermission permissions, + static SharedPtr<SharedMemory> Create(KernelCore& kernel, Process* owner_process, u64 size, + MemoryPermission permissions, MemoryPermission other_permissions, VAddr address = 0, MemoryRegion region = MemoryRegion::BASE, std::string name = "Unknown"); @@ -139,7 +139,7 @@ private: /// Permission restrictions applied to other processes mapping the block. MemoryPermission other_permissions{}; /// Process that created this shared memory block. - SharedPtr<Process> owner_process; + Process* owner_process; /// Address of shared memory block in the owner process if specified. VAddr base_address = 0; /// Name of shared memory object. |