summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-24 13:33:37 +0200
committerLioncash <mathew1800@gmail.com>2019-08-30 01:29:43 +0200
commit96cc9a92794309d83f03a34d34a6f2f24a68ac3e (patch)
tree28510cc4d919a670dbcb1dd10a69651124cb7240
parentkernel/vm_manager: Reserve memory ahead of time for slow path in MergeAdjacentVMA (diff)
downloadyuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.tar
yuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.tar.gz
yuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.tar.bz2
yuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.tar.lz
yuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.tar.xz
yuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.tar.zst
yuzu-96cc9a92794309d83f03a34d34a6f2f24a68ac3e.zip
-rw-r--r--src/core/hle/kernel/vm_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 6b2d78cc8..6ec4159ca 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -447,6 +447,8 @@ ResultCode VMManager::UnmapPhysicalMemory(VAddr target, u64 size) {
map_size, MemoryState::Heap, VMAPermission::None);
ASSERT_MSG(remap_res.Succeeded(), "Failed to remap a memory block.");
}
+
+ return result;
}
// Update mapped amount