From be81e99a837eab91777dac0f15980bab3c2e9545 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Fri, 17 Oct 2014 00:01:59 +0200 Subject: [PATCH] (OSX) Don't directly manipulate g_extern.system.shutdown - go through rarch_main_command calls --- apple/OSX/platform.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/OSX/platform.m b/apple/OSX/platform.m index be9f0d55e8..e9ff7a135e 100644 --- a/apple/OSX/platform.m +++ b/apple/OSX/platform.m @@ -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