mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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
|
||||
|
||||
#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;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
@ -335,10 +341,13 @@ returntype main_entry(signature())
|
||||
|
||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||
|
||||
// If we started a ROM directly from command line,
|
||||
// push it to ROM history.
|
||||
if (!g_extern.libretro_dummy)
|
||||
menu_rom_history_push_current();
|
||||
if (attempt_load_game_push_history)
|
||||
{
|
||||
// If we started a ROM directly from command line,
|
||||
// push it to ROM history.
|
||||
if (!g_extern.libretro_dummy)
|
||||
menu_rom_history_push_current();
|
||||
}
|
||||
|
||||
while (!main_entry_iterate(signature_expand(), args));
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user