diff options
| author | 2022-03-05 08:01:13 +0100 | |
|---|---|---|
| committer | 2023-01-01 16:43:57 -0500 | |
| commit | c541559767c3912940ee3d73a122530b3edde9f1 (patch) | |
| tree | 9924302d2b8e383ce8824ccc219da42417bbc6d4 /src/video_core/buffer_cache | |
| parent | MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect. (diff) | |
| download | yuzu-c541559767c3912940ee3d73a122530b3edde9f1.tar.gz yuzu-c541559767c3912940ee3d73a122530b3edde9f1.tar.xz yuzu-c541559767c3912940ee3d73a122530b3edde9f1.zip | |
MacroHLE: Refactor MacroHLE system.
Diffstat (limited to 'src/video_core/buffer_cache')
| -rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index 557227b37..98343628c 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h | |||
| @@ -1574,7 +1574,11 @@ void BufferCache<P>::MarkWrittenBuffer(BufferId buffer_id, VAddr cpu_addr, u32 s | |||
| 1574 | if (!is_async) { | 1574 | if (!is_async) { |
| 1575 | return; | 1575 | return; |
| 1576 | } | 1576 | } |
| 1577 | uncommitted_ranges.add(base_interval); | 1577 | const bool is_high_accuracy = |
| 1578 | Settings::values.gpu_accuracy.GetValue() == Settings::GPUAccuracy::High; | ||
| 1579 | if (is_high_accuracy) { | ||
| 1580 | uncommitted_ranges.add(base_interval); | ||
| 1581 | } | ||
| 1578 | } | 1582 | } |
| 1579 | 1583 | ||
| 1580 | template <class P> | 1584 | template <class P> |