mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Frontend.c) Some more cleanups
This commit is contained in:
parent
1dfccb84e1
commit
1175ced819
@ -351,6 +351,8 @@ bool main_load_content(int argc, char **argv, environment_get_t environ_get,
|
||||
goto error;
|
||||
}
|
||||
|
||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||
|
||||
if (process_args)
|
||||
process_args(rarch_argc_ptr, rarch_argv_ptr);
|
||||
|
||||
@ -378,15 +380,13 @@ returntype main_entry(signature())
|
||||
rarch_main_clear_state();
|
||||
rarch_init_msg_queue();
|
||||
|
||||
if (!(main_load_content(argc, argv, driver.frontend_ctx->environment_get,
|
||||
driver.frontend_ctx->process_args)))
|
||||
if (!(ret = (main_load_content(argc, argv, driver.frontend_ctx->environment_get,
|
||||
driver.frontend_ctx->process_args))))
|
||||
return_var(ret);
|
||||
|
||||
#if defined(HAVE_MENU)
|
||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||
|
||||
#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
||||
if (!ret)
|
||||
if (ret)
|
||||
#endif
|
||||
{
|
||||
// If we started content directly from command line,
|
||||
|
Loading…
x
Reference in New Issue
Block a user