FifoPlayer: Actually exit on 'Stop' in dualcore

Quit the fifoplayer cpu idle loop if a shutdown has been requested
This commit is contained in:
booto 2018-08-09 01:04:35 -04:00
parent 7be818a354
commit da0927fe8f

View File

@ -288,7 +288,7 @@ void FifoPlayer::WriteFrame(const FifoFrameInfo& frame, const AnalyzedFrameInfo&
FlushWGP(); FlushWGP();
// Sleep while the GPU is active // Sleep while the GPU is active
while (!IsIdleSet()) while (!IsIdleSet() && CPU::GetState() != CPU::State::PowerDown)
{ {
CoreTiming::Idle(); CoreTiming::Idle();
CoreTiming::Advance(); CoreTiming::Advance();