(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 defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
||||||
if (ret)
|
if (ret)
|
||||||
#endif
|
#endif
|
||||||
{
|
menu_content_history_push_current();
|
||||||
/* If we started content directly from command line,
|
|
||||||
* push it to content history.
|
|
||||||
*/
|
|
||||||
if (!g_extern.libretro_dummy)
|
|
||||||
menu_content_history_push_current();
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
frontend_loop = main_entry_iterate_content_nomenu;
|
frontend_loop = main_entry_iterate_content_nomenu;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -62,6 +62,9 @@ void menu_content_history_push_current(void)
|
||||||
if (!g_extern.history)
|
if (!g_extern.history)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!g_extern.libretro_dummy)
|
||||||
|
return;
|
||||||
|
|
||||||
/* g_extern.fullpath can be relative here.
|
/* g_extern.fullpath can be relative here.
|
||||||
* Ensure we're pushing absolute path. */
|
* Ensure we're pushing absolute path. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue