diff options
author | bunnei <bunneidev@gmail.com> | 2023-01-26 07:28:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 07:28:55 +0100 |
commit | 5669692b4ec6182f54294f8609766b1ea33e145c (patch) | |
tree | f79555da3e5037b9f8f3c05440cd52ab00859596 /src/core | |
parent | Merge pull request #9652 from liamwhite/ms (diff) | |
parent | Revert "MemoryManager: use fastmem directly." (diff) | |
download | yuzu-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.cpp | 2 |
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); } |