mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(ffmpeg_core.c) C89 build fixes
This commit is contained in:
parent
07f20d6ed6
commit
f1a1f3531b
@ -229,12 +229,8 @@ void CORE_PREFIX(retro_get_system_av_info)(struct retro_system_av_info *info)
|
||||
unsigned height = vctx ? media.height : 240;
|
||||
float aspect = vctx ? media.aspect : 0.0;
|
||||
|
||||
info->timing = (struct retro_system_timing)
|
||||
{
|
||||
.fps = media.interpolate_fps,
|
||||
.sample_rate = actx[0] ? media.sample_rate : 32000.0,
|
||||
};
|
||||
|
||||
info->timing.fps = media.interpolate_fps;
|
||||
info->timing.sample_rate = actx[0] ? media.sample_rate : 32000.0;
|
||||
|
||||
#ifdef HAVE_GL_FFT
|
||||
if (audio_streams_num > 0 && video_stream < 0)
|
||||
@ -245,14 +241,11 @@ void CORE_PREFIX(retro_get_system_av_info)(struct retro_system_av_info *info)
|
||||
}
|
||||
#endif
|
||||
|
||||
info->geometry = (struct retro_game_geometry)
|
||||
{
|
||||
.base_width = width,
|
||||
.base_height = height,
|
||||
.max_width = width,
|
||||
.max_height = height,
|
||||
.aspect_ratio = aspect,
|
||||
};
|
||||
info->geometry.base_width = width;
|
||||
info->geometry.base_height = height;
|
||||
info->geometry.max_width = width;
|
||||
info->geometry.max_height = height;
|
||||
info->geometry.aspect_ratio = aspect;
|
||||
}
|
||||
|
||||
void CORE_PREFIX(retro_set_environment)(retro_environment_t cb)
|
||||
@ -453,7 +446,6 @@ void CORE_PREFIX(retro_run)(void)
|
||||
|
||||
CORE_PREFIX(input_poll_cb)();
|
||||
|
||||
|
||||
left = CORE_PREFIX(input_state_cb)(0, RETRO_DEVICE_JOYPAD, 0,
|
||||
RETRO_DEVICE_ID_JOYPAD_LEFT);
|
||||
right = CORE_PREFIX(input_state_cb)(0, RETRO_DEVICE_JOYPAD, 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user