summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-10-13 20:21:02 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-13 20:27:11 +0200
commit50384e2619e6e1d0cef11723d8d5f28ef0f03499 (patch)
treed51e884012fffa8b6b4233ea01e732f030cac9b0
parentMerge pull request #7120 from Morph1984/update-dynarmic (diff)
downloadyuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.tar
yuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.tar.gz
yuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.tar.bz2
yuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.tar.lz
yuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.tar.xz
yuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.tar.zst
yuzu-50384e2619e6e1d0cef11723d8d5f28ef0f03499.zip
-rw-r--r--src/core/hle/kernel/k_page_table.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp
index 701268545..5e0b620c2 100644
--- a/src/core/hle/kernel/k_page_table.cpp
+++ b/src/core/hle/kernel/k_page_table.cpp
@@ -363,6 +363,8 @@ ResultCode KPageTable::UnmapProcessCodeMemory(VAddr dst_addr, VAddr src_addr, st
block_manager->Update(src_addr, num_pages, KMemoryState::Normal,
KMemoryPermission::ReadAndWrite);
+ system.InvalidateCpuInstructionCacheRange(dst_addr, size);
+
return ResultSuccess;
}