Revert "Always do menu_push_history_current when starting with content"

This reverts commit 30ce741f981f12f18662c8fd71d10d77d7465d9f.
This commit is contained in:
twinaphex 2014-06-02 18:15:26 +02:00
parent 8e04ac2f12
commit 7014b703ba

View File

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