mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-22 02:44:38 +00:00
Rename function and only perform menu_animation_udpate is
render_this_frame is checked
This commit is contained in:
parent
2b6a6aeb04
commit
9744ce23ab
@ -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)))
|
||||
|
@ -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:
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user