summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VideoState.cpp
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2008-08-28 21:30:13 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2008-08-28 21:30:13 +0000
commit2e760d69fed99553e436d754c1fb315b3f33ecac (patch)
treec852f9c0f2a5129857548d1db59eebaefa509ccd /Source/Core/VideoCommon/Src/VideoState.cpp
parent1716ef46bbfe9826014bb32293561b4c1174a181 (diff)
Added save/load state support in the UI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@375 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VideoState.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp
index 0952f0d0eb..d0366e4bb4 100644
--- a/Source/Core/VideoCommon/Src/VideoState.cpp
+++ b/Source/Core/VideoCommon/Src/VideoState.cpp
@@ -33,11 +33,14 @@ static void DoState(ChunkFile &f) {
f.Do(MatrixIndexB);
// XF Memory
f.Do(xfregs);
+ PanicAlert("video: XFMem");
f.Do(xfmem);
+ PanicAlert("video: Texture decoder");
// Texture decoder
f.Do(texMem);
// FIFO
+ PanicAlert("video: FIFO");
Fifo_DoState(f);
//TODO: Check for more pointers in the data structures and make them
@@ -45,9 +48,10 @@ static void DoState(ChunkFile &f) {
}
void VideoCommon_DoState(ChunkFile &f) {
- //PanicAlert("Saving state from Video Common Library");
+ PanicAlert("Saving state from Video Common Library");
//TODO: Save the video state
f.Descend("VID ");
DoState(f);
f.Ascend();
+ PanicAlert("END save video");
}