summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
diff options
context:
space:
mode:
authorRachel Bryk <RachelBryk@gmail.com>2013-02-28 13:36:29 -0500
committerRachel Bryk <RachelBryk@gmail.com>2013-02-28 13:36:29 -0500
commit0c16489c391174975121683ec334b261f56e4ccc (patch)
tree4b75ba2af4723a35c4747e0df7657c3ba79a7069 /Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
parent07539b9a3ff1bc55bd829d0098ac025dbfd4ad44 (diff)
parent46f5c19c6d2fbd3318e9a6de3c3c2e313c669cf0 (diff)
Merge branch 'VideoSoftware-savestates'
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
index 72b26338b5..6cc4ee4dc8 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
@@ -57,6 +57,15 @@ CPReg cpreg; // shared between gfx and emulator thread
void DoState(PointerWrap &p)
{
p.Do(cpreg);
+ p.DoArray(commandBuffer, commandBufferSize);
+ p.Do(readPos);
+ p.Do(writePos);
+ p.Do(et_UpdateInterrupts);
+ p.Do(interruptSet);
+ p.Do(interruptWaiting);
+
+ // Is this right?
+ p.DoArray(g_pVideoData,writePos);
}
// does it matter that there is no synchronization between threads during writes?