(OSX) Start cutting down on apple_run_core

This commit is contained in:
Twinaphex 2014-10-16 23:52:14 +02:00
parent 303aaede17
commit f2d067fe7f

View File

@ -274,6 +274,8 @@ static char** waiting_argv;
if (g_extern.system.shutdown)
return;
/* TODO - rewrite this. */
cb = (NSComboBox*)[[self.coreSelectSheet contentView] viewWithTag:1];
#if defined(MAC_OS_X_VERSION_10_6)
/* FIXME - Rewrite this so that this is no longer an associated object - requires ObjC 2.0 runtime */
@ -281,7 +283,9 @@ static char** waiting_argv;
#endif
if (!g_extern.main_is_init)
apple_run_core(0, NULL, self.core.UTF8String, g_extern.fullpath);
{
/* Load core/content here. */
}
else
g_extern.system.shutdown = true;
}