diff options
author | Fernando S <fsahmkow27@gmail.com> | 2023-01-06 07:31:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 07:31:39 -0500 |
commit | 5bcbb8de45540bee7a64b7b1867f61c57f51ab88 (patch) | |
tree | 49fd1c79dfefba1139ad1577a414ed07293ecf81 /src/core/memory.cpp | |
parent | 990fe2b3fce54b39836122b9eff3e62e09c0b225 (diff) | |
parent | b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a (diff) |
Merge pull request #9559 from FernandoS27/cached-writes
VideoCore: Implement Cached Writes, use fastmem for reading GPU memory and eliminate old stuffs
Diffstat (limited to 'src/core/memory.cpp')
-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 26be74df4a..a1e41faffb 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -436,7 +436,7 @@ struct Memory::Impl { } if (Settings::IsFastmemEnabled()) { - const bool is_read_enable = Settings::IsGPULevelHigh() || !cached; + const bool is_read_enable = !Settings::IsGPULevelExtreme() || !cached; system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached); } |