(Menu) Move early return when core is a dummy to menu_history_push_current

function
This commit is contained in:
twinaphex 2014-09-05 18:21:03 +02:00
parent e4681e0013
commit 1111bd2f6d
2 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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. */