aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-01-25 22:28:55 -0800
committerGitHub <noreply@github.com>2023-01-25 22:28:55 -0800
commit7c607953e54d7f1a6e3e74e86342ce8321cb1e32 (patch)
treef79555da3e5037b9f8f3c05440cd52ab00859596 /src/core/memory.cpp
parente34c349e273ecdf9645899f1165c9e86ee0ec1b1 (diff)
parent6b506506337d8ff1af743a5e1e635495e7907367 (diff)
Merge pull request #9670 from merryhime/revert-7f18e3bb898911343e3909f676dc96f3a34b1e95
Revert "MemoryManager: use fastmem directly."
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 4e605fae40..af9660b556 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);
}