mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(iOS 9) Fix iOS 9 build
This commit is contained in:
parent
543e680961
commit
9c9fdcfa58
@ -544,7 +544,7 @@ static bool uninit_video_input(void)
|
|||||||
if (
|
if (
|
||||||
!video_driver_ctl(RARCH_DISPLAY_CTL_OWNS_DRIVER, NULL)
|
!video_driver_ctl(RARCH_DISPLAY_CTL_OWNS_DRIVER, NULL)
|
||||||
&& video_driver_data
|
&& video_driver_data
|
||||||
&& current_video->free
|
&& current_video && current_video->free
|
||||||
)
|
)
|
||||||
current_video->free(video_driver_data);
|
current_video->free(video_driver_data);
|
||||||
|
|
||||||
|
@ -762,8 +762,8 @@ bool input_driver_ctl(enum rarch_input_ctl_state state, void *data)
|
|||||||
|
|
||||||
current_input = (const input_driver_t*)input_driver_find_handle(0);
|
current_input = (const input_driver_t*)input_driver_find_handle(0);
|
||||||
|
|
||||||
if (!current_input)
|
if (current_input)
|
||||||
return false;
|
return true;
|
||||||
retro_fail(1, "find_input_driver()");
|
retro_fail(1, "find_input_driver()");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user