Core: Convert State enum into an enum class

This commit is contained in:
Lioncash
2017-02-05 07:39:58 -05:00
parent c4d470cbf2
commit e07383a783
25 changed files with 103 additions and 103 deletions

View File

@ -28,12 +28,12 @@ void SetIsThrottlerTempDisabled(bool disable);
void Callback_VideoCopiedToXFB(bool video_update);
enum EState
enum State
{
CORE_UNINITIALIZED,
CORE_PAUSE,
CORE_RUN,
CORE_STOPPING
Uninitialized,
Paused,
Running,
Stopping
};
bool Init();
@ -52,8 +52,8 @@ bool IsCPUThread(); // this tells us whether we are the CPU thread
bool IsGPUThread();
// [NOT THREADSAFE] For use by Host only
void SetState(EState state);
EState GetState();
void SetState(State state);
State GetState();
void SaveScreenShot();
void SaveScreenShot(const std::string& name);