(OSX) Don't directly manipulate g_extern.system.shutdown - go through

rarch_main_command calls
This commit is contained in:
Twinaphex 2014-10-17 00:01:59 +02:00
parent 884eeeb87d
commit be81e99a83
1 changed files with 3 additions and 3 deletions

View File

@ -201,8 +201,8 @@ static char** waiting_argv;
if (g_extern.main_is_init)
reply = NSTerminateCancel;
g_extern.system.shutdown = true;
rarch_main_command(RARCH_CMD_QUIT);
return reply;
}
@ -289,7 +289,7 @@ static char** waiting_argv;
rarch_main_command(RARCH_CMD_LOAD_CONTENT);
}
else
g_extern.system.shutdown = true;
rarch_main_command(RARCH_CMD_QUIT);
}
#pragma mark RetroArch_Platform