diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-26 20:39:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-26 20:39:31 +0100 |
commit | e043cc0bc39def1596f9054c879dd0ef5a65be72 (patch) | |
tree | 65e18a33eda02f6a18cb32b5f492aa72fca0ed2a /src/core | |
parent | Merge pull request #8041 from Morph1984/inline-swkbd (diff) | |
parent | Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory." (diff) | |
download | yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.gz yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.bz2 yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.lz yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.xz yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.tar.zst yuzu-e043cc0bc39def1596f9054c879dd0ef5a65be72.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 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); } |