enum CPUState: rename CPU_* to STATE_*

This commit is contained in:
Tillmann Karras 2014-06-13 20:27:05 +02:00
parent ee100cf827
commit 20a16beabd
13 changed files with 34 additions and 33 deletions

View file

@ -226,7 +226,7 @@ bool Init()
// Called from GUI thread
void Stop() // - Hammertime!
{
if (PowerPC::GetState() == PowerPC::CPU_POWERDOWN)
if (PowerPC::GetState() == PowerPC::STATE_POWERDOWN)
{
if (g_EmuThread.joinable())
g_EmuThread.join();
@ -471,7 +471,7 @@ void EmuThread()
// Spawn the CPU+GPU thread
g_cpu_thread = std::thread(cpuThreadFunc);
while (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
while (PowerPC::GetState() != PowerPC::STATE_POWERDOWN)
{
g_video_backend->PeekMessages();
Common::SleepCurrentThread(20);