diff options
| author | bunnei <bunneidev@gmail.com> | 2014-12-17 20:56:04 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-12-17 20:56:04 -0500 |
| commit | 7bae450379b2a41eb5d264c9e1638073586fb0fb (patch) | |
| tree | 9a27a87f20c65839690424d903e5c665e8e6b034 /src/core/hle/svc.cpp | |
| parent | 94a103a00080f3f8f9ca9348ec0c5e819c6313e1 (diff) | |
| parent | 66431bcedaf406e5d356da1aad8baf55e1cc9cb9 (diff) | |
Merge pull request #185 from purpasmart96/mem_perm
Kernel: Add missing permissions
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 15cc240f4..47e9bf77e 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -64,6 +64,10 @@ static Result MapMemoryBlock(Handle handle, u32 addr, u32 permissions, u32 other case Kernel::MemoryPermission::Read: case Kernel::MemoryPermission::Write: case Kernel::MemoryPermission::ReadWrite: + case Kernel::MemoryPermission::Execute: + case Kernel::MemoryPermission::ReadExecute: + case Kernel::MemoryPermission::WriteExecute: + case Kernel::MemoryPermission::ReadWriteExecute: case Kernel::MemoryPermission::DontCare: Kernel::MapSharedMemory(handle, addr, permissions_type, static_cast<Kernel::MemoryPermission>(other_permissions)); |
