summaryrefslogtreecommitdiffstats
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorMerry <git@mary.rs>2023-01-25 11:12:04 +0100
committerMerry <git@mary.rs>2023-01-25 11:12:04 +0100
commitdc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9 (patch)
tree2a94cfcefb1dc507364ab76e0e4033059f905d34 /src/core/memory.cpp
parentMerge pull request #9662 from abouvier/cmake-llvm (diff)
downloadyuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.tar
yuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.tar.gz
yuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.tar.bz2
yuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.tar.lz
yuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.tar.xz
yuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.tar.zst
yuzu-dc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9.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 4e605fae4..af9660b55 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -440,7 +440,7 @@ struct Memory::Impl {
}
if (Settings::IsFastmemEnabled()) {
- const bool is_read_enable = !Settings::IsGPULevelExtreme() || !cached;
+ const bool is_read_enable = Settings::IsGPULevelHigh() || !cached;
system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached);
}