Fix occasional deadlock when stopping FIFO playback
This commit is contained in:
parent
a557230dea
commit
ef75381a84
|
@ -384,6 +384,8 @@ void FifoPlayer::WriteFifo(const u8* data, u32 start, u32 end)
|
|||
{
|
||||
while (IsHighWatermarkSet())
|
||||
{
|
||||
if (CPU::GetState() != CPU::State::Running)
|
||||
break;
|
||||
CoreTiming::Idle();
|
||||
CoreTiming::Advance();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue