mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-11 13:07:08 +03:00
enum CPUState: rename CPU_* to STATE_*
This commit is contained in:
parent
ee100cf827
commit
20a16beabd
13 changed files with 34 additions and 33 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue