(OSX) If there is no longer anything to run the app will terminate instead of waiting with a black screen.

This commit is contained in:
meancoot 2013-07-09 14:59:15 -04:00
parent 1e67100ac6
commit 8f1ea1f3cd

View File

@ -617,6 +617,10 @@ int main(int argc, char *argv[])
if (_wantReload)
apple_run_core(_core, _file.UTF8String);
else if(use_tv_mode)
apple_run_core(nil, 0);
else
[NSApplication.sharedApplication terminate:nil];
_wantReload = false;
}