diff options
| author | 2018-10-29 21:55:06 -0400 | |
|---|---|---|
| committer | 2018-11-15 12:48:09 -0500 | |
| commit | 0276761a1e8e9f1ac1e2678ac8fed0b6767f6732 (patch) | |
| tree | ed470e1373abf20f14a69d2562be840aa0f77e9c /src/core/hle | |
| parent | pl_u: Resize buffers in shared font data getter to what game requests (diff) | |
| download | yuzu-0276761a1e8e9f1ac1e2678ac8fed0b6767f6732.tar.gz yuzu-0276761a1e8e9f1ac1e2678ac8fed0b6767f6732.tar.xz yuzu-0276761a1e8e9f1ac1e2678ac8fed0b6767f6732.zip | |
process: Make MirrorMemory take state to map new memory as
Credits to Subv
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/kernel/process.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index cf48787ce..230e395ff 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -259,7 +259,8 @@ public: | |||
| 259 | ResultVal<VAddr> HeapAllocate(VAddr target, u64 size, VMAPermission perms); | 259 | ResultVal<VAddr> HeapAllocate(VAddr target, u64 size, VMAPermission perms); |
| 260 | ResultCode HeapFree(VAddr target, u32 size); | 260 | ResultCode HeapFree(VAddr target, u32 size); |
| 261 | 261 | ||
| 262 | ResultCode MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size); | 262 | ResultCode MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size, |
| 263 | MemoryState state = MemoryState::Mapped); | ||
| 263 | 264 | ||
| 264 | ResultCode UnmapMemory(VAddr dst_addr, VAddr src_addr, u64 size); | 265 | ResultCode UnmapMemory(VAddr dst_addr, VAddr src_addr, u64 size); |
| 265 | 266 | ||