diff options
| author | 2023-11-10 12:01:32 -0500 | |
|---|---|---|
| committer | 2023-11-10 12:01:35 -0500 | |
| commit | 875246f5b29d1a14e6c08a1631a2acc8c8eb3a19 (patch) | |
| tree | 019cb6ca42ee3b89b400bb624e933abf695e150c /src | |
| parent | k_page_table: use more precise icache invalidates (diff) | |
| download | yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.gz yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.tar.xz yuzu-875246f5b29d1a14e6c08a1631a2acc8c8eb3a19.zip | |
k_page_table: fix shutdown
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/k_page_table_base.cpp | 7 |
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 | ||
| 71 | void InvalidateEntireInstructionCache(Core::System& system) { | ||
| 72 | system.InvalidateCpuInstructionCaches(); | ||
| 73 | } | ||
| 74 | |||
| 75 | template <typename AddressType> | 71 | template <typename AddressType> |
| 76 | void InvalidateInstructionCache(Core::System& system, AddressType addr, u64 size) { | 72 | void 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 | } |