Always do menu_push_history_current when starting with content
This commit is contained in:
parent
98491c3fa6
commit
30ce741f98
|
@ -65,12 +65,6 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(RARCH_CONSOLE) && !defined(__QNX__) && !defined(ANDROID)
|
|
||||||
#define attempt_load_game_push_history true
|
|
||||||
#else
|
|
||||||
#define attempt_load_game_push_history false
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static retro_keyboard_event_t key_event;
|
static retro_keyboard_event_t key_event;
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
|
@ -341,13 +335,10 @@ returntype main_entry(signature())
|
||||||
|
|
||||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||||
|
|
||||||
if (attempt_load_game_push_history)
|
|
||||||
{
|
|
||||||
// If we started a ROM directly from command line,
|
// If we started a ROM directly from command line,
|
||||||
// push it to ROM history.
|
// push it to ROM history.
|
||||||
if (!g_extern.libretro_dummy)
|
if (!g_extern.libretro_dummy)
|
||||||
menu_rom_history_push_current();
|
menu_rom_history_push_current();
|
||||||
}
|
|
||||||
|
|
||||||
while (!main_entry_iterate(signature_expand(), args));
|
while (!main_entry_iterate(signature_expand(), args));
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue