From da0927fe8feb5dccaa0e94cfd2bd7a757bbba7a8 Mon Sep 17 00:00:00 2001 From: booto Date: Thu, 9 Aug 2018 01:04:35 -0400 Subject: [PATCH] FifoPlayer: Actually exit on 'Stop' in dualcore Quit the fifoplayer cpu idle loop if a shutdown has been requested --- Source/Core/Core/FifoPlayer/FifoPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/FifoPlayer/FifoPlayer.cpp b/Source/Core/Core/FifoPlayer/FifoPlayer.cpp index d6c249293c..1e278d38ea 100644 --- a/Source/Core/Core/FifoPlayer/FifoPlayer.cpp +++ b/Source/Core/Core/FifoPlayer/FifoPlayer.cpp @@ -288,7 +288,7 @@ void FifoPlayer::WriteFrame(const FifoFrameInfo& frame, const AnalyzedFrameInfo& FlushWGP(); // Sleep while the GPU is active - while (!IsIdleSet()) + while (!IsIdleSet() && CPU::GetState() != CPU::State::PowerDown) { CoreTiming::Idle(); CoreTiming::Advance();