From 14c81f13c965c8d79ea10765bb2927d3f0e7ef24 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 28 May 2014 22:20:08 +0200 Subject: [PATCH] (Frontend) Remove attempt_load_game variable --- frontend/frontend.c | 7 ------- frontend/menu/disp/rmenu.c | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/frontend.c b/frontend/frontend.c index 06a88931a9..11fdc01c58 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -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); diff --git a/frontend/menu/disp/rmenu.c b/frontend/menu/disp/rmenu.c index 6843133a85..1c2b8aea77 100644 --- a/frontend/menu/disp/rmenu.c +++ b/frontend/menu/disp/rmenu.c @@ -456,6 +456,7 @@ static void *rmenu_init(void) if (!rgui) return NULL; + rmenu_init_assets(rgui); return rgui;