aboutsummaryrefslogtreecommitdiff
path: root/source/snapshot.cpp
diff options
context:
space:
mode:
authoraliaspider2014-10-28 08:51:20 +0100
committeraliaspider2014-10-28 08:51:20 +0100
commita9c9cc3e30e50e8d90e355aa7ea84ae846e0c9bc (patch)
treecef73a9ec18ff128889643727b27b12c096e224e /source/snapshot.cpp
parent7c00d00bcec7faf25ecd91c34decab4698ad478c (diff)
downloadsnes9x2005-a9c9cc3e30e50e8d90e355aa7ea84ae846e0c9bc.tar.gz
snes9x2005-a9c9cc3e30e50e8d90e355aa7ea84ae846e0c9bc.tar.bz2
snes9x2005-a9c9cc3e30e50e8d90e355aa7ea84ae846e0c9bc.zip
del some more
Diffstat (limited to 'source/snapshot.cpp')
-rw-r--r--source/snapshot.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/source/snapshot.cpp b/source/snapshot.cpp
index a0575e7..b4be39c 100644
--- a/source/snapshot.cpp
+++ b/source/snapshot.cpp
@@ -113,7 +113,6 @@
#include "srtc.h"
#include "sdd1.h"
#include "spc7110.h"
-#include "movie.h"
extern uint8 *SRAM;
@@ -700,22 +699,6 @@ void S9xFreezeToStream (STREAM stream)
FreezeStruct (stream, "RTC", &rtc_f9, SnapS7RTC, COUNT (SnapS7RTC));
}
- if (S9xMovieActive ())
- {
- uint8* movie_freeze_buf;
- uint32 movie_freeze_size;
-
- S9xMovieFreeze(&movie_freeze_buf, &movie_freeze_size);
- if(movie_freeze_buf)
- {
- struct SnapshotMovieInfo mi;
- mi.MovieInputDataSize = movie_freeze_size;
- FreezeStruct (stream, "MOV", &mi, SnapMovie, COUNT (SnapMovie));
- FreezeBlock (stream, "MID", movie_freeze_buf, movie_freeze_size);
- delete [] movie_freeze_buf;
- }
- }
-
S9xSetSoundMute (FALSE);
#ifdef ZSNES_FX
if (Settings.SuperFX)
@@ -811,28 +794,6 @@ int S9xUnfreezeFromStream (STREAM stream)
break;
}
- if (S9xMovieActive ())
- {
- SnapshotMovieInfo mi;
- if ((result = UnfreezeStruct (stream, "MOV", &mi, SnapMovie, COUNT(SnapMovie))) != SUCCESS)
- {
- result = NOT_A_MOVIE_SNAPSHOT;
- break;
- }
-
- if ((result = UnfreezeBlockCopy (stream, "MID", &local_movie_data, mi.MovieInputDataSize)) != SUCCESS)
- {
- result = NOT_A_MOVIE_SNAPSHOT;
- break;
- }
-
- if (!S9xMovieUnfreeze(local_movie_data, mi.MovieInputDataSize))
- {
- result = WRONG_MOVIE_SNAPSHOT;
- break;
- }
- }
-
result=SUCCESS;
} while(false);