diff options
| author | 2022-04-08 21:31:56 +0200 | |
|---|---|---|
| committer | 2022-04-09 13:29:19 +0200 | |
| commit | 3b91d213b172a0f66ba421d4583f1bf1a3dbdca6 (patch) | |
| tree | b6c7d389b3217543cf2b40794bb3c15934039166 /src/core/hle/kernel/svc.cpp | |
| parent | Merge pull request #8162 from german77/bombslinger (diff) | |
| download | yuzu-3b91d213b172a0f66ba421d4583f1bf1a3dbdca6.tar.gz yuzu-3b91d213b172a0f66ba421d4583f1bf1a3dbdca6.tar.xz yuzu-3b91d213b172a0f66ba421d4583f1bf1a3dbdca6.zip | |
hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory (fixes #8174)
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 976d63234..0c86435b5 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -1713,7 +1713,8 @@ static ResultCode UnmapProcessCodeMemory(Core::System& system, Handle process_ha | |||
| 1713 | return ResultInvalidMemoryRegion; | 1713 | return ResultInvalidMemoryRegion; |
| 1714 | } | 1714 | } |
| 1715 | 1715 | ||
| 1716 | return page_table.UnmapCodeMemory(dst_address, src_address, size); | 1716 | return page_table.UnmapCodeMemory(dst_address, src_address, size, |
| 1717 | KPageTable::ICacheInvalidationStrategy::InvalidateAll); | ||
| 1717 | } | 1718 | } |
| 1718 | 1719 | ||
| 1719 | /// Exits the current process | 1720 | /// Exits the current process |