summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-01-05 12:06:33 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-01-05 12:06:33 +0100
commitaf5ecb0b15d4449f58434e70eed835cf71fc5527 (patch)
tree668943cf63ff7dd94fcbbea26dcf321863e9a54a /src/core
parentvideo_core: Cache GPU internal writes. (diff)
downloadyuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar
yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.gz
yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.bz2
yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.lz
yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.xz
yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.zst
yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.zip
Diffstat (limited to 'src/core')
-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 26be74df4..a1e41faff 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);
}