summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Liam2023-11-10 12:01:32 -0500
committerGravatar Liam2023-11-10 12:01:35 -0500
commit875246f5b29d1a14e6c08a1631a2acc8c8eb3a19 (patch)
tree019cb6ca42ee3b89b400bb624e933abf695e150c /src
parentk_page_table: use more precise icache invalidates (diff)
downloadyuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.gz
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.xz
yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.zip
k_page_table: fix shutdown
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:
68 } 68 }
69}; 69};
70 70
71void InvalidateEntireInstructionCache(Core::System& system) {
72 system.InvalidateCpuInstructionCaches();
73}
74
75template <typename AddressType> 71template <typename AddressType>
76void InvalidateInstructionCache(Core::System& system, AddressType addr, u64 size) { 72void InvalidateInstructionCache(Core::System& system, AddressType addr, u64 size) {
77 system.InvalidateCpuInstructionCacheRange(GetInteger(addr), size); 73 system.InvalidateCpuInstructionCacheRange(GetInteger(addr), size);
@@ -435,9 +431,6 @@ void KPageTableBase::Finalize() {
435 m_mapped_ipc_server_memory); 431 m_mapped_ipc_server_memory);
436 } 432 }
437 433
438 // Invalidate the entire instruction cache.
439 InvalidateEntireInstructionCache(m_system);
440
441 // Close the backing page table, as the destructor is not called for guest objects. 434 // Close the backing page table, as the destructor is not called for guest objects.
442 m_impl.reset(); 435 m_impl.reset();
443} 436}