From 63aa08acbe1da5b78d9f0b37088081a24591849f Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 9 Feb 2019 02:55:45 -0500 Subject: gpu_thread: (HACK) Ignore flush on FlushAndInvalidateRegion. --- src/video_core/gpu_thread.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/video_core') 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) { -- cgit v1.2.3