summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-03-13 23:36:31 +0100
committerdegasus <wickmarkus@web.de>2015-04-06 12:35:35 +0200
commitd2c62b17445b666b81a19cb3a6c46f9ee2d1388e (patch)
tree1d9a13d2d91aeda665e6f5af511b4568f5d2ffb4 /Source/Core/VideoCommon/CommandProcessor.cpp
parentb020ae1c5db4e2e198d1beea91c75219a251a167 (diff)
Fifo: only sleep once within every ms of emulated time
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp
index 162e3a2d53..2c6660e1f8 100644
--- a/Source/Core/VideoCommon/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/CommandProcessor.cpp
@@ -45,6 +45,8 @@ volatile bool interruptWaiting= false;
volatile bool interruptTokenWaiting = false;
volatile bool interruptFinishWaiting = false;
+Common::Flag s_gpuMaySleep;
+
volatile u32 VITicks = CommandProcessor::m_cpClockOrigin;
static bool IsOnThread()