diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-11 00:47:07 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-11 00:47:07 +0200 |
commit | c96f22490a4a459d477f446fd4e5f894f580b69c (patch) | |
tree | 3047a04a88ecd381f2e2984b41b2fb21119940d9 /src/core/hle/svc.cpp | |
parent | Merge pull request #736 from yuriks/remove-BIT (diff) | |
download | yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.tar yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.tar.gz yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.tar.bz2 yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.tar.lz yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.tar.xz yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.tar.zst yuzu-c96f22490a4a459d477f446fd4e5f894f580b69c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 393cfbe79..1ec6599c7 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -601,7 +601,9 @@ static ResultCode CreateMemoryBlock(Handle* out_handle, u32 addr, u32 size, u32 using Kernel::SharedMemory; // TODO(Subv): Implement this function - SharedPtr<SharedMemory> shared_memory = SharedMemory::Create(); + using Kernel::MemoryPermission; + SharedPtr<SharedMemory> shared_memory = SharedMemory::Create(size, + (MemoryPermission)my_permission, (MemoryPermission)other_permission); CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(std::move(shared_memory))); LOG_WARNING(Kernel_SVC, "(STUBBED) called addr=0x%08X", addr); |