Merge pull request #7308 from booto/dualcore-fifo-player-shutdown

FifoPlayer: Actually exit on 'Stop' in dualcore
This commit is contained in:
Markus Wick 2018-08-10 18:00:18 +02:00 committed by GitHub
commit 185f971e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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();