diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index f015dae566..5b047a50e1 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h @@ -811,7 +811,7 @@ bool BufferCache

::HasUncommittedFlushes() const noexcept { template void BufferCache

::AccumulateFlushes() { - if (Settings::values.gpu_accuracy.GetValue() != Settings::GPUAccuracy::High) { + if (!Settings::IsGPULevelHigh()) { uncommitted_ranges.clear(); return; } @@ -833,8 +833,7 @@ void BufferCache

::CommitAsyncFlushesHigh() { return; } MICROPROFILE_SCOPE(GPU_DownloadMemory); - const bool is_accuracy_normal = - Settings::values.gpu_accuracy.GetValue() == Settings::GPUAccuracy::Normal; + const bool is_accuracy_normal = !Settings::IsGPULevelHigh(); boost::container::small_vector, 1> downloads; u64 total_size_bytes = 0; @@ -913,7 +912,7 @@ void BufferCache

::CommitAsyncFlushesHigh() { template void BufferCache

::CommitAsyncFlushes() { - if (Settings::values.gpu_accuracy.GetValue() == Settings::GPUAccuracy::High) { + if (Settings::IsGPULevelHigh()) { CommitAsyncFlushesHigh(); } else { uncommitted_ranges.clear();