summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-17 00:24:54 +0100
committerbunnei <bunneidev@gmail.com>2018-03-17 00:24:54 +0100
commitcc6f22e0e423527e9ddf374960fa29a472cea04a (patch)
tree7ff83f9d4b4fd4df5f48333d07fb743e3c4531cb /src/core
parentprocess: Unmap previously allocated heap. (diff)
downloadyuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.tar
yuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.tar.gz
yuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.tar.bz2
yuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.tar.lz
yuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.tar.xz
yuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.tar.zst
yuzu-cc6f22e0e423527e9ddf374960fa29a472cea04a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index c1a883b3c..3694afc60 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -291,7 +291,7 @@ ResultCode Process::MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size) {
CASCADE_RESULT(auto new_vma,
vm_manager.MapMemoryBlock(dst_addr, backing_block, backing_block_offset, size,
- vma->second.meminfo_state));
+ MemoryState::Mapped));
// Protect mirror with permissions from old region
vm_manager.Reprotect(new_vma, vma->second.permissions);
// Remove permissions from old region