aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-01-06 07:31:39 -0500
committerGitHub <noreply@github.com>2023-01-06 07:31:39 -0500
commit5bcbb8de45540bee7a64b7b1867f61c57f51ab88 (patch)
tree49fd1c79dfefba1139ad1577a414ed07293ecf81 /src/core/memory.cpp
parent990fe2b3fce54b39836122b9eff3e62e09c0b225 (diff)
parentb56ad93bbc9ac38820c1e1cb4b03256dd50aa17a (diff)
Merge pull request #9559 from FernandoS27/cached-writes
VideoCore: Implement Cached Writes, use fastmem for reading GPU memory and eliminate old stuffs
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 26be74df4a..a1e41faffb 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -436,7 +436,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);
}