mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
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:
parent
90bae5d57f
commit
855f97841d
9 changed files with 52 additions and 27 deletions
|
@ -88,6 +88,7 @@ public:
|
|||
virtual void Shutdown() = 0;
|
||||
|
||||
virtual void DoState(PointerWrap &p) = 0;
|
||||
virtual void RunLoop(bool enable) = 0;
|
||||
|
||||
virtual std::string GetName() = 0;
|
||||
|
||||
|
@ -127,6 +128,7 @@ extern VideoBackend* g_video_backend;
|
|||
class VideoBackendHLE : public VideoBackend
|
||||
{
|
||||
void DoState(PointerWrap &p);
|
||||
void RunLoop(bool enable);
|
||||
|
||||
void EmuStateChange(EMUSTATE_CHANGE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue