forked from dolphin-emu/dolphin
Paused the video thread while a save state was being created or loaded. Performed the save state operation after the fifo became idle. Saved the interrupt status of the video thread into the save state. This helps stabilise the save states in dual core mode in games like Super Mario Galaxy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7112 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -194,8 +194,8 @@ void Fifo_EnterLoop()
|
||||
while (!EmuRunning)
|
||||
{
|
||||
g_video_backend->PeekMessages();
|
||||
VideoFifo_CheckAsyncRequest();
|
||||
Common::SleepCurrentThread(10);
|
||||
VideoFifo_CheckStateRequest();
|
||||
Common::SleepCurrentThread(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user