summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-09 08:55:45 +0100
committerbunnei <bunneidev@gmail.com>2019-03-07 03:48:57 +0100
commit63aa08acbe1da5b78d9f0b37088081a24591849f (patch)
treeea23493f4f7b6fa6a1499d11d1d946b085287d40 /src
parentgpu: Always flush. (diff)
downloadyuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.tar
yuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.tar.gz
yuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.tar.bz2
yuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.tar.lz
yuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.tar.xz
yuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.tar.zst
yuzu-63aa08acbe1da5b78d9f0b37088081a24591849f.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/gpu_thread.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 7640da6c0..4c25380eb 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -119,9 +119,7 @@ void ThreadManager::InvalidateRegion(VAddr addr, u64 size) {
}
void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) {
- // Block the CPU when using accurate emulation
- PushCommand(FlushAndInvalidateRegionCommand(addr, size),
- Settings::values.use_accurate_gpu_emulation, false);
+ InvalidateRegion(addr, size);
}
void ThreadManager::PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu) {