mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Core: Convert State enum into an enum class
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user