summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VideoState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Src/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VideoState.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp
index 8a8642f5dd..0952f0d0eb 100644
--- a/Source/Core/VideoCommon/Src/VideoState.cpp
+++ b/Source/Core/VideoCommon/Src/VideoState.cpp
@@ -16,7 +16,12 @@
// http://code.google.com/p/dolphin-emu/
#include "VideoState.h"
+
+#include "BPMemory.h"
+#include "CPMemory.h"
+#include "XFMemory.h"
#include "TextureDecoder.h"
+#include "Fifo.h"
static void DoState(ChunkFile &f) {
// BP Memory
@@ -33,10 +38,7 @@ static void DoState(ChunkFile &f) {
f.Do(texMem);
// FIFO
- f.Do(size);
- f.DoArray(videoBuffer, sizeof(u8), size);
-
- f.Do(readptr);
+ Fifo_DoState(f);
//TODO: Check for more pointers in the data structures and make them
// serializable