mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Revert "Always do menu_push_history_current when starting with content"
This reverts commit 30ce741f981f12f18662c8fd71d10d77d7465d9f.
This commit is contained in:
parent
8e04ac2f12
commit
7014b703ba
@ -65,6 +65,12 @@
|
|||||||
|
|
||||||
#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
|
||||||
@ -335,10 +341,13 @@ returntype main_entry(signature())
|
|||||||
|
|
||||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||||
|
|
||||||
// If we started a ROM directly from command line,
|
if (attempt_load_game_push_history)
|
||||||
// push it to ROM history.
|
{
|
||||||
if (!g_extern.libretro_dummy)
|
// If we started a ROM directly from command line,
|
||||||
menu_rom_history_push_current();
|
// push it to ROM history.
|
||||||
|
if (!g_extern.libretro_dummy)
|
||||||
|
menu_rom_history_push_current();
|
||||||
|
}
|
||||||
|
|
||||||
while (!main_entry_iterate(signature_expand(), args));
|
while (!main_entry_iterate(signature_expand(), args));
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user