mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Don't use menu_driver_get_ptr in runloop anymore
This commit is contained in:
parent
798e7fa7fa
commit
0acb119f61
@ -978,10 +978,8 @@ int rarch_main_iterate(unsigned *sleep_ms)
|
||||
#ifdef HAVE_MENU
|
||||
if (menu_driver_alive())
|
||||
{
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
if (menu)
|
||||
if (menu_iterate(true, (enum menu_action)menu_input_frame(input, trigger_input)) == -1)
|
||||
rarch_ctl(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED, NULL);
|
||||
if (menu_iterate(true, (enum menu_action)menu_input_frame(input, trigger_input)) == -1)
|
||||
rarch_ctl(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED, NULL);
|
||||
|
||||
if (!input && settings->menu.pause_libretro)
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user