summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authordegasus <markus@selfnet.de>2015-03-05 17:12:24 +0100
committerdegasus <wickmarkus@web.de>2015-04-06 12:35:27 +0200
commit279c657cda7772a39f318b5df68fb279bb0400b4 (patch)
tree095afd5a9f7a949f350d9be5208611f1a820f3e9 /Source/Core/VideoCommon/CommandProcessor.cpp
parentea50dc240d0df56490aea86408dd0f621787950d (diff)
Fifo: Replace busy loop with condition variable
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp8
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