1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 20:25:47 +00:00
This commit is contained in:
Themaister 2011-02-02 20:15:00 +01:00
parent ca35dd79d2
commit 1b5adde885
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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,