diff --git a/frontend/frontend.c b/frontend/frontend.c index 4a2a22d029..1b7b1813e2 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -376,13 +376,7 @@ returntype main_entry(signature()) #if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE) if (ret) #endif - { - /* If we started content directly from command line, - * push it to content history. - */ - if (!g_extern.libretro_dummy) - menu_content_history_push_current(); - } + menu_content_history_push_current(); #else frontend_loop = main_entry_iterate_content_nomenu; #endif diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index c19625cefd..c022eed019 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -62,6 +62,9 @@ void menu_content_history_push_current(void) if (!g_extern.history) return; + if (!g_extern.libretro_dummy) + return; + /* g_extern.fullpath can be relative here. * Ensure we're pushing absolute path. */