mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
Make sure that the video software backend doesn't get stuck in an infinite loop on shutdown.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7364 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -180,7 +180,7 @@ void VideoSoftware::Video_EnterLoop()
|
|||||||
|
|
||||||
if (!emuRunningState)
|
if (!emuRunningState)
|
||||||
{
|
{
|
||||||
while (!emuRunningState)
|
while (!emuRunningState && fifoStateRun)
|
||||||
{
|
{
|
||||||
g_video_backend->PeekMessages();
|
g_video_backend->PeekMessages();
|
||||||
Common::SleepCurrentThread(1);
|
Common::SleepCurrentThread(1);
|
||||||
|
Reference in New Issue
Block a user