aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-03-25 12:09:40 -0400
committerGitHub <noreply@github.com>2022-03-25 12:09:40 -0400
commit7e05ca2de700c6d2c3b19b4015ecb58a34281089 (patch)
tree2a5ad33409771c951997186c5665b60a96fa4205 /src/core/memory.cpp
parentc989676dc5a92064a9254fd26bdb844c205a2f82 (diff)
parent6e2cfc4310395040ab46430861e9860e6d309e67 (diff)
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 28d30eee29..3fed514008 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -322,7 +322,7 @@ struct Memory::Impl {
}
if (Settings::IsFastmemEnabled()) {
- const bool is_read_enable = Settings::IsGPULevelHigh() || !cached;
+ const bool is_read_enable = !Settings::IsGPULevelExtreme() || !cached;
system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached);
}