mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 19:24:46 +00:00
(Frontend) Remove attempt_load_game variable
This commit is contained in:
parent
d70b8a0f15
commit
14c81f13c9
@ -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);
|
||||
|
@ -456,6 +456,7 @@ static void *rmenu_init(void)
|
||||
if (!rgui)
|
||||
return NULL;
|
||||
|
||||
|
||||
rmenu_init_assets(rgui);
|
||||
|
||||
return rgui;
|
||||
|
Loading…
Reference in New Issue
Block a user