Răsfoiți Sursa

gpu_thread: (HACK) Ignore flush on FlushAndInvalidateRegion.

bunnei 7 ani în urmă
părinte
comite
63aa08acbe
1 a modificat fișierele cu 1 adăugiri și 3 ștergeri
  1. 1 3
      src/video_core/gpu_thread.cpp

+ 1 - 3
src/video_core/gpu_thread.cpp

@@ -119,9 +119,7 @@ void ThreadManager::InvalidateRegion(VAddr addr, u64 size) {
 }
 }
 
 
 void ThreadManager::FlushAndInvalidateRegion(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) {
 void ThreadManager::PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu) {