From 8f1ea1f3cde122579cc7b0094b01a4f878265199 Mon Sep 17 00:00:00 2001 From: meancoot Date: Tue, 9 Jul 2013 14:59:15 -0400 Subject: [PATCH] (OSX) If there is no longer anything to run the app will terminate instead of waiting with a black screen. --- apple/RetroArch/main.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apple/RetroArch/main.m b/apple/RetroArch/main.m index 942c26820d..c8e84388b8 100644 --- a/apple/RetroArch/main.m +++ b/apple/RetroArch/main.m @@ -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; }