summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2011-02-08 10:37:47 +0000
committerskidau <skidau@gmail.com>2011-02-08 10:37:47 +0000
commit855f97841dffcc2bd75f8c0f6cdb48c2d42a8f08 (patch)
tree8316a7a62b24835bccd3c48b25bf0b2aa8984df5 /Source/Core/Common
parent90bae5d57f7248f409e735dc41326c0ceda50c63 (diff)
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
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Src/VideoBackendBase.h2
1 files changed, 2 insertions, 0 deletions
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);