summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-01-26 07:28:55 +0100
committerGitHub <noreply@github.com>2023-01-26 07:28:55 +0100
commit5669692b4ec6182f54294f8609766b1ea33e145c (patch)
treef79555da3e5037b9f8f3c05440cd52ab00859596 /src/core
parentMerge pull request #9652 from liamwhite/ms (diff)
parentRevert "MemoryManager: use fastmem directly." (diff)
downloadyuzu-5669692b4ec6182f54294f8609766b1ea33e145c.tar
yuzu-5669692b4ec6182f54294f8609766b1ea33e145c.tar.gz
yuzu-5669692b4ec6182f54294f8609766b1ea33e145c.tar.bz2
yuzu-5669692b4ec6182f54294f8609766b1ea33e145c.tar.lz
yuzu-5669692b4ec6182f54294f8609766b1ea33e145c.tar.xz
yuzu-5669692b4ec6182f54294f8609766b1ea33e145c.tar.zst
yuzu-5669692b4ec6182f54294f8609766b1ea33e145c.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 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);
}