From 855f97841dffcc2bd75f8c0f6cdb48c2d42a8f08 Mon Sep 17 00:00:00 2001 From: skidau Date: Tue, 8 Feb 2011 10:37:47 +0000 Subject: 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 --- Source/Core/Common/Src/VideoBackendBase.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/Common') diff --git a/Source/Core/Common/Src/VideoBackendBase.h b/Source/Core/Common/Src/VideoBackendBase.h index ba90717009..0a83d127f2 100644 --- a/Source/Core/Common/Src/VideoBackendBase.h +++ b/Source/Core/Common/Src/VideoBackendBase.h @@ -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); -- cgit v1.2.3