From 30ce741f981f12f18662c8fd71d10d77d7465d9f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 2 Jun 2014 18:00:56 +0200 Subject: [PATCH] Always do menu_push_history_current when starting with content --- frontend/frontend.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/frontend/frontend.c b/frontend/frontend.c index 52f94b7034..3dc9b99e3a 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -65,12 +65,6 @@ #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 @@ -341,13 +335,10 @@ returntype main_entry(signature()) g_extern.lifecycle_state |= (1ULL << MODE_GAME); - 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(); - } + // 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