Get rid of unnecessary function main_entry_iterate_shutdown
This commit is contained in:
parent
ff4e0928f4
commit
7b49e072ff
|
@ -55,11 +55,10 @@
|
||||||
|
|
||||||
#define MAX_ARGS 32
|
#define MAX_ARGS 32
|
||||||
|
|
||||||
static int main_entry_iterate_shutdown(signature(),
|
int main_entry_decide(signature(), args_type() args)
|
||||||
args_type() args)
|
{
|
||||||
|
if (!rarch_main_iterate())
|
||||||
{
|
{
|
||||||
(void)args;
|
|
||||||
|
|
||||||
if (g_extern.core_shutdown_initiated
|
if (g_extern.core_shutdown_initiated
|
||||||
&& g_settings.load_dummy_on_core_shutdown)
|
&& g_settings.load_dummy_on_core_shutdown)
|
||||||
{
|
{
|
||||||
|
@ -68,15 +67,9 @@ static int main_entry_iterate_shutdown(signature(),
|
||||||
g_extern.core_shutdown_initiated = false;
|
g_extern.core_shutdown_initiated = false;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main_entry_decide(signature(), args_type() args)
|
|
||||||
{
|
|
||||||
if (!rarch_main_iterate())
|
|
||||||
return main_entry_iterate_shutdown(signature_expand(), args);
|
|
||||||
|
|
||||||
if (driver.frontend_ctx && driver.frontend_ctx->process_events)
|
if (driver.frontend_ctx && driver.frontend_ctx->process_events)
|
||||||
driver.frontend_ctx->process_events(args);
|
driver.frontend_ctx->process_events(args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue