From 1b5adde885bad738a03cd92448e8c1567e9cada6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 2 Feb 2011 20:15:00 +0100 Subject: [PATCH] Hrm. --- movie.c | 5 +++++ ssnes.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/movie.c b/movie.c index 60eaaa3f2a..5d36e15481 100644 --- a/movie.c +++ b/movie.c @@ -164,6 +164,11 @@ static bool init_playback(bsv_movie_t *handle, const char *path) return false; } + if (psnes_serialize_size() != state_size) + { + SSNES_ERR("Movie format seems to have a different serializer version. Cannot continue.\n"); + exit(1); + } // Unserialize to start playback. psnes_unserialize(handle->state, state_size); return true; diff --git a/ssnes.c b/ssnes.c index 8cc7502114..f259e760e6 100644 --- a/ssnes.c +++ b/ssnes.c @@ -619,9 +619,8 @@ static void init_recording(void) // Hardcode these options at the moment. Should be specificed in the config file later on. if (g_extern.recording) { - // Just record every 2 frames for now. struct ffemu_rational ntsc_fps = {60000, 1000}; - struct ffemu_rational pal_fps = {30000, 1000}; + struct ffemu_rational pal_fps = {50000, 1000}; struct ffemu_params params = { .vcodec = FFEMU_VIDEO_H264, .acodec = FFEMU_AUDIO_VORBIS,