Fifo: only sleep once within every ms of emulated time

This commit is contained in:
degasus
2015-03-13 23:36:31 +01:00
parent b020ae1c5d
commit d2c62b1744
4 changed files with 15 additions and 3 deletions

View File

@ -5,6 +5,7 @@
#pragma once
#include "Common/CommonTypes.h"
#include "Common/Flag.h"
#include "VideoCommon/VideoBackendBase.h"
class PointerWrap;
@ -21,6 +22,7 @@ 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