mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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
Block a user