summaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorGravatar Morph2022-03-25 12:09:40 -0400
committerGravatar GitHub2022-03-25 12:09:40 -0400
commitda46d924e9953a6934c43e33e068023b405ecbcb (patch)
tree2a5ad33409771c951997186c5665b60a96fa4205 /src/core/memory.cpp
parentMerge pull request #7720 from FernandoS27/yfc-gc (diff)
parentMemory: Don't protect reads on Normal accuracy. (diff)
downloadyuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.gz
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.xz
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.zip
Merge pull request #8080 from FernandoS27/yo-momma-so-fat-that
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 28d30eee2..3fed51400 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::IsGPULevelHigh() || !cached; 325 const bool is_read_enable = !Settings::IsGPULevelExtreme() || !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