summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.h
diff options
context:
space:
mode:
authorMarkus Wick <markus+github@selfnet.de>2015-04-06 13:24:17 +0200
committerMarkus Wick <markus+github@selfnet.de>2015-04-06 13:24:17 +0200
commit4669b50e2351830656e7d26ec2f0eec8b4740e69 (patch)
tree7da8e9583a95528ef48ade14003b8e381c600908 /Source/Core/VideoCommon/CommandProcessor.h
parentea50dc240d0df56490aea86408dd0f621787950d (diff)
parent74795b45539ebee1c2af78fd6dca9022c3189c76 (diff)
Merge pull request #2172 from degasus/block_gpu_thread
Block gpu thread
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.h')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h
index 0dad1578af..6d177844a6 100644
--- a/Source/Core/VideoCommon/CommandProcessor.h
+++ b/Source/Core/VideoCommon/CommandProcessor.h
@@ -5,6 +5,7 @@
#pragma once
#include "Common/CommonTypes.h"
+#include "Common/Flag.h"
#include "VideoCommon/VideoBackendBase.h"
class PointerWrap;
@@ -17,11 +18,11 @@ namespace CommandProcessor
extern SCPFifoStruct fifo; //This one is shared between gfx thread and emulator thread.
-extern volatile bool isPossibleWaitingSetDrawDone; //This one is used for sync gfx thread and emulator thread.
extern volatile bool interruptSet;
extern volatile bool interruptWaiting;
extern volatile bool interruptTokenWaiting;
extern volatile bool interruptFinishWaiting;
+extern Common::Flag s_gpuMaySleep;
// internal hardware addresses
enum
@@ -145,7 +146,6 @@ void UpdateInterruptsFromVideoBackend(u64 userdata);
void SetCpClearRegister();
void SetCpControlRegister();
void SetCpStatusRegister();
-void ProcessFifoAllDistance();
void ProcessFifoEvents();
void Update();