summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-11-10 18:01:32 +0100
committerLiam <byteslice@airmail.cc>2023-11-10 18:01:35 +0100
commit875246f5b29d1a14e6c08a1631a2acc8c8eb3a19 (patch)
tree019cb6ca42ee3b89b400bb624e933abf695e150c /src
parentk_page_table: use more precise icache invalidates (diff)
downloadyuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.gz
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.bz2
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.lz
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.xz
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.zst
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_page_table_base.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/hle/kernel/k_page_table_base.cpp b/src/core/hle/kernel/k_page_table_base.cpp
index c97b4a6b7..6a57ad55c 100644
--- a/src/core/hle/kernel/k_page_table_base.cpp
+++ b/src/core/hle/kernel/k_page_table_base.cpp
@@ -68,10 +68,6 @@ public:
}
};
-void InvalidateEntireInstructionCache(Core::System& system) {
- system.InvalidateCpuInstructionCaches();
-}
-
template <typename AddressType>
void InvalidateInstructionCache(Core::System& system, AddressType addr, u64 size) {
system.InvalidateCpuInstructionCacheRange(GetInteger(addr), size);
@@ -435,9 +431,6 @@ void KPageTableBase::Finalize() {
m_mapped_ipc_server_memory);
}
- // Invalidate the entire instruction cache.
- InvalidateEntireInstructionCache(m_system);
-
// Close the backing page table, as the destructor is not called for guest objects.
m_impl.reset();
}