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:
skidau
2011-02-08 10:37:47 +00:00
parent 90bae5d57f
commit 855f97841d
9 changed files with 52 additions and 27 deletions

View File

@ -194,8 +194,8 @@ void Fifo_EnterLoop()
while (!EmuRunning)
{
g_video_backend->PeekMessages();
VideoFifo_CheckAsyncRequest();
Common::SleepCurrentThread(10);
VideoFifo_CheckStateRequest();
Common::SleepCurrentThread(1);
}
}
}