summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-03-02 15:33:32 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-03-02 15:33:32 -0600
commit2b1af36900bcb13102690bd862246b9cc3b7d541 (patch)
tree50a950e592d7bfcaab9a575ddfa8037e9701b1f2 /Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
parente079d2491282f334f0d87dd16801550efcf8d4d1 (diff)
parent2356e5c0e7dab9c0f541e48f8df5fd663d3b671f (diff)
Merge branch 'master' into windows-unicode
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?