diff options
| author | skidau <skidau@gmail.com> | 2011-02-08 10:37:47 +0000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2011-02-08 10:37:47 +0000 |
| commit | 855f97841dffcc2bd75f8c0f6cdb48c2d42a8f08 (patch) | |
| tree | 8316a7a62b24835bccd3c48b25bf0b2aa8984df5 /Source/Core/VideoCommon/Src/VideoState.cpp | |
| parent | 90bae5d57f7248f409e735dc41326c0ceda50c63 (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/VideoCommon/Src/VideoState.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoState.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp index b7ca4c00c1..d82aaed46f 100644 --- a/Source/Core/VideoCommon/Src/VideoState.cpp +++ b/Source/Core/VideoCommon/Src/VideoState.cpp @@ -55,3 +55,8 @@ void VideoCommon_DoState(PointerWrap &p) DoState(p); //TODO: search for more data that should be saved and add it here } + +void VideoCommon_RunLoop(bool enable) +{ + Fifo_RunLoop(enable); +} |
