diff --git a/frontend/frontend.c b/frontend/frontend.c index f151526546..900aad9afa 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -121,7 +121,7 @@ static int main_entry_iterate_content(args_type() args) static int main_entry_iterate_load_content(args_type() args) { - if (load_menu_game()) + if (load_menu_content()) { g_extern.lifecycle_state |= (1ULL << MODE_GAME); if (driver.video_data && driver.video_poke && driver.video_poke->set_aspect_ratio) diff --git a/frontend/menu/backend/menu_common_backend.c b/frontend/menu/backend/menu_common_backend.c index d1317d9883..191ebc4e12 100644 --- a/frontend/menu/backend/menu_common_backend.c +++ b/frontend/menu/backend/menu_common_backend.c @@ -2498,7 +2498,7 @@ static int menu_common_iterate(unsigned action) } else if (menu_type == MENU_SETTINGS_OPEN_HISTORY) { - load_menu_game_history(driver.menu->selection_ptr); + load_menu_content_history(driver.menu->selection_ptr); menu_flush_stack_type(MENU_SETTINGS); ret = -1; } diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index b0b2622861..78b5010e85 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -99,7 +99,7 @@ void menu_content_history_push_current(void) g_extern.system.info.library_name); } -static void load_menu_game_prepare(void) +static void load_menu_content_prepare(void) { if (!driver.menu) return; @@ -142,7 +142,7 @@ static void load_menu_game_prepare(void) MENU_TEXTURE_FULLSCREEN); } -void load_menu_game_history(unsigned game_index) +void load_menu_content_history(unsigned game_index) { const char *path = NULL; const char *core_path = NULL; @@ -193,9 +193,9 @@ static void menu_environment_get(int *argc, char *argv[], void *args, void *para wrap_args->touched = true; } -bool load_menu_game(void) +bool load_menu_content(void) { - load_menu_game_prepare(); + load_menu_content_prepare(); if (!(main_load_content(0, NULL, menu_environment_get, driver.frontend_ctx->process_args))) diff --git a/frontend/menu/menu_common.h b/frontend/menu/menu_common.h index 5da9aa964b..f2826e1f4c 100644 --- a/frontend/menu/menu_common.h +++ b/frontend/menu/menu_common.h @@ -103,8 +103,8 @@ void menu_free(void *data); void menu_ticker_line(char *buf, size_t len, unsigned tick, const char *str, bool selected); -bool load_menu_game(void); -void load_menu_game_history(unsigned game_index); +bool load_menu_content(void); +void load_menu_content_history(unsigned game_index); void menu_content_history_push_current(void); bool menu_replace_config(const char *path);