(Frontend) Remove attempt_load_game variable

This commit is contained in:
twinaphex 2014-05-28 22:20:08 +02:00
parent d70b8a0f15
commit 14c81f13c9
2 changed files with 1 additions and 7 deletions

View File

@ -85,12 +85,6 @@ static void rarch_get_environment_console(void)
#define ra_preinited false
#endif
#if defined(__QNX__) || defined(RARCH_CONSOLE)
#define attempt_load_game false
#else
#define attempt_load_game true
#endif
#if defined(RARCH_CONSOLE) || defined(__QNX__) || defined(ANDROID)
#define initial_menu_lifecycle_state (1ULL << MODE_LOAD_GAME)
#else
@ -354,7 +348,6 @@ returntype main_entry(signature())
rarch_get_environment_console();
}
if (attempt_load_game)
{
int init_ret;
if ((init_ret = rarch_main_init(argc, argv))) return_var(init_ret);

View File

@ -456,6 +456,7 @@ static void *rmenu_init(void)
if (!rgui)
return NULL;
rmenu_init_assets(rgui);
return rgui;