summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp
index 0091e4eaca..396a5a54af 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp
@@ -46,6 +46,18 @@ static bool inObjectStream;
static u8 lastPrimCmd;
+void DoState(PointerWrap &p)
+{
+ p.Do(minCommandSize);
+ vertexLoader.DoState(p);
+ p.Do(streamSize);
+ p.Do(streamAddress);
+ p.Do(readOpcode);
+ p.Do(inObjectStream);
+ p.Do(lastPrimCmd);
+ //p.Do(currentFunction);
+}
+
void DecodePrimitiveStream(u32 iBufferSize)
{
u32 vertexSize = vertexLoader.GetVertexSize();