diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-03-25 12:09:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-25 12:09:40 -0400 |
| commit | 7e05ca2de700c6d2c3b19b4015ecb58a34281089 (patch) | |
| tree | 2a5ad33409771c951997186c5665b60a96fa4205 /src/core/memory.cpp | |
| parent | c989676dc5a92064a9254fd26bdb844c205a2f82 (diff) | |
| parent | 6e2cfc4310395040ab46430861e9860e6d309e67 (diff) | |
Merge pull request #8080 from FernandoS27/yo-momma-so-fat-that
Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory.
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 28d30eee29..3fed514008 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::IsGPULevelHigh() || !cached; + const bool is_read_enable = !Settings::IsGPULevelExtreme() || !cached; system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached); } |
