mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +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 (
|
||||
!video_driver_ctl(RARCH_DISPLAY_CTL_OWNS_DRIVER, NULL)
|
||||
&& video_driver_data
|
||||
&& current_video->free
|
||||
&& current_video && current_video->free
|
||||
)
|
||||
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);
|
||||
|
||||
if (!current_input)
|
||||
return false;
|
||||
if (current_input)
|
||||
return true;
|
||||
retro_fail(1, "find_input_driver()");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user