mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Menu) Move early return when core is a dummy to menu_history_push_current
function
This commit is contained in:
parent
e4681e0013
commit
1111bd2f6d
@ -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
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user