diff --git a/menu/menu.c b/menu/menu.c index 2a92919d09..d456a864be 100644 --- a/menu/menu.c +++ b/menu/menu.c @@ -101,7 +101,7 @@ bool menu_load_content(enum rarch_core_type type) disp->msg_force = true; menu_iterate(true, MENU_ACTION_NOOP); - menu_iterate_main_render(); + menu_iterate_render(); if (!(main_load_content(0, NULL, NULL, menu_environment_get, driver->frontend_ctx->process_args))) diff --git a/menu/menu.h b/menu/menu.h index e04d8fc732..dfefa79044 100644 --- a/menu/menu.h +++ b/menu/menu.h @@ -174,7 +174,7 @@ void *menu_init(const void *data); **/ int menu_iterate(bool render_this_frame, unsigned action); -int menu_iterate_main_render(void); +int menu_iterate_render(void); /** * menu_free: diff --git a/menu/menu_iterate.c b/menu/menu_iterate.c index 53b7eddea3..05f08c974c 100644 --- a/menu/menu_iterate.c +++ b/menu/menu_iterate.c @@ -436,7 +436,8 @@ int menu_iterate(bool render_this_frame, unsigned action) menu_display_t *disp = menu_display_get_ptr(); menu_list_t *menu_list = menu_list_get_ptr(); - menu_animation_update_time(); + if (render_this_frame) + menu_animation_update_time(); menu_list_get_last_stack(menu_list, NULL, &label, NULL, NULL); if (!menu || !menu_list) @@ -544,7 +545,7 @@ end: return 0; } -int menu_iterate_main_render(void) +int menu_iterate_render(void) { const menu_ctx_driver_t *driver = menu_ctx_driver_get_ptr(); menu_handle_t *menu = menu_driver_get_ptr(); diff --git a/runloop_data.c b/runloop_data.c index 905cb8090f..e5e5dac232 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -215,7 +215,7 @@ static void rarch_main_data_menu_iterate(void) menu_environment_cb(MENU_ENVIRON_RESET_HORIZONTAL_LIST, NULL); #endif - menu_iterate_main_render(); + menu_iterate_render(); } #endif