summaryrefslogtreecommitdiffstats
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-26 20:38:30 +0100
committerGitHub <noreply@github.com>2022-03-26 20:38:30 +0100
commitaf04f8b8e958a79471d58bc21745f0e8b9b2ea75 (patch)
tree65e18a33eda02f6a18cb32b5f492aa72fca0ed2a /src/core/memory.cpp
parentMerge pull request #8041 from Morph1984/inline-swkbd (diff)
downloadyuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar
yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.gz
yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.bz2
yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.lz
yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.xz
yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.zst
yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.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 3fed51400..28d30eee2 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -322,7 +322,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);
}