summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-16 23:22:14 +0100
committerbunnei <bunneidev@gmail.com>2018-03-16 23:32:24 +0100
commit403f8e79eaade7209c6cfd7a9d4334ce5add28df (patch)
tree71ab181d8299e7608fa3f856ee0394d66ee55c8f /src/core/hle/kernel
parentsvc: Use more correct values for GetInfo MapRegion and NewMapRegion. (diff)
downloadyuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.gz
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.bz2
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.lz
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.xz
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.zst
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 4748297d1..1c2f873aa 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -184,6 +184,9 @@ ResultCode VMManager::UnmapRange(VAddr target, u64 size) {
}
ASSERT(FindVMA(target)->second.size >= size);
+
+ Core::CPU().UnmapMemory(target, size);
+
return RESULT_SUCCESS;
}