summaryrefslogtreecommitdiff
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
commitdc7ab4c5d6b54ee651ff6f0b7635a0fcf08c86b9 (patch)
tree2a94cfcefb1dc507364ab76e0e4033059f905d34 /src/core/memory.cpp
parent44b981fd3eb3db5c15bcc24e61bae45607223ee6 (diff)
Revert "MemoryManager: use fastmem directly."
This reverts commit af5ecb0b15d4449f58434e70eed835cf71fc5527.
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);
}