aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorMerry <git@mary.rs>2023-01-25 10:12:04 +0000
committerMerry <git@mary.rs>2023-01-25 10:12:04 +0000
commit6b506506337d8ff1af743a5e1e635495e7907367 (patch)
tree2a94cfcefb1dc507364ab76e0e4033059f905d34 /src/core/memory.cpp
parentb292986fc58ef5fd2388e94d52c52cec1827ed2f (diff)
Revert "MemoryManager: use fastmem directly."
This reverts commit 7f18e3bb898911343e3909f676dc96f3a34b1e95.
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);
}