diff options
author | bunnei <bunneidev@gmail.com> | 2021-10-17 12:25:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-17 12:25:26 +0200 |
commit | 4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5 (patch) | |
tree | f770a76cfe8f3023320cf958d941bbb170b03831 /src/core | |
parent | Merge pull request #7077 from FernandoS27/face-down (diff) | |
parent | KPageTable: Perform ranged invalidation when unmapping code memory (diff) | |
download | yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.tar yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.tar.gz yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.tar.bz2 yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.tar.lz yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.tar.xz yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.tar.zst yuzu-4e81b799f1e7bd00cb55df8a07adcef6e9c1bfd5.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/k_page_table.cpp | 2 |
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; } |