Small cellAudio update

This commit is contained in:
Nekotekina 2014-02-15 00:08:02 +04:00
parent e94ea409fe
commit e066bcf261
6 changed files with 77 additions and 57 deletions

View file

@ -96,7 +96,7 @@ bool CPUThread::Sync()
int CPUThread::ThreadStatus()
{
if(Emu.IsStopped() || IsStopped() )
if (Emu.IsStopped() || IsStopped())
{
return CPUThread_Stopped;
}
@ -106,12 +106,12 @@ int CPUThread::ThreadStatus()
return CPUThread_Step;
}
if (TestDestroy())
if (TestDestroy() || IsPaused())
{
return CPUThread_Break;
}
if(Emu.IsPaused() || Sync())
if (Emu.IsPaused() || Sync())
{
return CPUThread_Sleeping;
}