summaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2022-03-26 12:39:31 -0700
committerGravatar GitHub2022-03-26 12:39:31 -0700
commite043cc0bc39def1596f9054c879dd0ef5a65be72 (patch)
tree65e18a33eda02f6a18cb32b5f492aa72fca0ed2a /src/core/memory.cpp
parentMerge pull request #8041 from Morph1984/inline-swkbd (diff)
parentRevert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding ... (diff)
downloadyuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.gz
yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.xz
yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.zip
Merge pull request #8092 from yuzu-emu/revert-8080-yo-momma-so-fat-that
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.cpp2
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