1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-26 06:40:39 +00:00

(video_driver.c) Ensure input is initialized in init_video_input

This commit is contained in:
Higor Eurípedes 2015-12-20 19:11:59 -03:00
parent f6729c0b74
commit d191e29d1b

@ -423,7 +423,12 @@ static void init_video_input(const input_driver_t *tmp)
{
const input_driver_t **input = input_get_double_ptr();
if (*input)
{
if (!input_driver_get_data() && !input_driver_ctl(RARCH_INPUT_CTL_INIT, NULL))
goto error;
return;
}
/* Reset video frame count */
video_driver_frame_count = 0;