summaryrefslogtreecommitdiffstats
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-04 00:10:22 +0200
committerGitHub <noreply@github.com>2023-05-04 00:10:22 +0200
commita661c547d8defb589415cbf4c42999830832cceb (patch)
treecf5fb160e22a6f0c57c2ef0080735677538c9a01 /src/core/memory.cpp
parentMerge pull request #10117 from liamwhite/sync-register (diff)
parentQueryCache: Fix write invalidation. (diff)
downloadyuzu-a661c547d8defb589415cbf4c42999830832cceb.tar
yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.gz
yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.bz2
yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.lz
yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.xz
yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.zst
yuzu-a661c547d8defb589415cbf4c42999830832cceb.zip
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 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);
}