mirror of
https://github.com/libretro/RetroArch
synced 2025-03-26 02:37:23 +00:00
Hrm.
This commit is contained in:
parent
ca35dd79d2
commit
1b5adde885
5
movie.c
5
movie.c
@ -164,6 +164,11 @@ static bool init_playback(bsv_movie_t *handle, const char *path)
|
|||||||
return false;
|
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.
|
// Unserialize to start playback.
|
||||||
psnes_unserialize(handle->state, state_size);
|
psnes_unserialize(handle->state, state_size);
|
||||||
return true;
|
return true;
|
||||||
|
3
ssnes.c
3
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.
|
// Hardcode these options at the moment. Should be specificed in the config file later on.
|
||||||
if (g_extern.recording)
|
if (g_extern.recording)
|
||||||
{
|
{
|
||||||
// Just record every 2 frames for now.
|
|
||||||
struct ffemu_rational ntsc_fps = {60000, 1000};
|
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 = {
|
struct ffemu_params params = {
|
||||||
.vcodec = FFEMU_VIDEO_H264,
|
.vcodec = FFEMU_VIDEO_H264,
|
||||||
.acodec = FFEMU_AUDIO_VORBIS,
|
.acodec = FFEMU_AUDIO_VORBIS,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user