mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
(iOS) Should fix some of the crashes
This commit is contained in:
parent
0e4f1a400f
commit
e42ed3e3df
@ -1244,6 +1244,7 @@ static void mui_frame(void *data, video_frame_info_t *video_info)
|
|||||||
node = (mui_node_t*)menu_entries_get_userdata_at_offset(
|
node = (mui_node_t*)menu_entries_get_userdata_at_offset(
|
||||||
list, selection);
|
list, selection);
|
||||||
|
|
||||||
|
if (node)
|
||||||
menu_display_draw_quad(
|
menu_display_draw_quad(
|
||||||
0,
|
0,
|
||||||
header_height - mui->scroll_y + node->y,
|
header_height - mui->scroll_y + node->y,
|
||||||
|
@ -249,7 +249,7 @@ static void menu_driver_toggle(bool on)
|
|||||||
retro_keyboard_event_t *key_event = NULL;
|
retro_keyboard_event_t *key_event = NULL;
|
||||||
retro_keyboard_event_t *frontend_key_event = NULL;
|
retro_keyboard_event_t *frontend_key_event = NULL;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
bool pause_libretro = settings->bools.menu_pause_libretro;
|
bool pause_libretro = settings ? settings->bools.menu_pause_libretro : false;
|
||||||
|
|
||||||
menu_driver_toggled = on;
|
menu_driver_toggled = on;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user