diff options
| author | 2022-03-26 12:38:30 -0700 | |
|---|---|---|
| committer | 2022-03-26 12:38:30 -0700 | |
| commit | af04f8b8e958a79471d58bc21745f0e8b9b2ea75 (patch) | |
| tree | 65e18a33eda02f6a18cb32b5f492aa72fca0ed2a /src/core/memory.cpp | |
| parent | Merge pull request #8041 from Morph1984/inline-swkbd (diff) | |
| download | yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.gz yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.xz yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.zip | |
Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory."
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 3fed51400..28d30eee2 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp | |||
| @@ -322,7 +322,7 @@ struct Memory::Impl { | |||
| 322 | } | 322 | } |
| 323 | 323 | ||
| 324 | if (Settings::IsFastmemEnabled()) { | 324 | if (Settings::IsFastmemEnabled()) { |
| 325 | const bool is_read_enable = !Settings::IsGPULevelExtreme() || !cached; | 325 | const bool is_read_enable = Settings::IsGPULevelHigh() || !cached; |
| 326 | system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached); | 326 | system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached); |
| 327 | } | 327 | } |
| 328 | 328 | ||