diff options
| author | degasus <markus@selfnet.de> | 2015-03-05 17:12:24 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-04-06 12:35:27 +0200 |
| commit | 279c657cda7772a39f318b5df68fb279bb0400b4 (patch) | |
| tree | 095afd5a9f7a949f350d9be5208611f1a820f3e9 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | ea50dc240d0df56490aea86408dd0f621787950d (diff) | |
Fifo: Replace busy loop with condition variable
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp index b53c50fc2e..21ef0be2a9 100644 --- a/Source/Core/VideoCommon/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/CommandProcessor.cpp @@ -322,10 +322,7 @@ void GatherPipeBursted() ProcessFifoAllDistance(); } } - else - { - RunGpu(); - } + RunGpu(); return; } @@ -375,6 +372,7 @@ void UpdateInterrupts(u64 userdata) } CoreTiming::ForceExceptionCheck(0); interruptWaiting = false; + RunGpu(); } void UpdateInterruptsFromVideoBackend(u64 userdata) @@ -551,5 +549,7 @@ void Update() if (fifo.isGpuReadingData) Common::AtomicAdd(VITicks, SystemTimers::GetTicksPerSecond() / 10000); + + RunGpu(); } } // end of namespace CommandProcessor |
