summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-04-22 11:59:57 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-04-23 22:03:44 +0200
commit7e76c1642cb4dfde5bfc97600ca3df7dcbea01de (patch)
tree6d68c31d9588def484be15d84cb54bb2f72af4df /src/core
parentFence Manager: implement async fence management in a sepparate thread. (diff)
downloadyuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.tar
yuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.tar.gz
yuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.tar.bz2
yuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.tar.lz
yuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.tar.xz
yuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.tar.zst
yuzu-7e76c1642cb4dfde5bfc97600ca3df7dcbea01de.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 432310632..a9667463f 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -462,7 +462,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);
}