diff --git a/apple/RetroArch/main.m b/apple/RetroArch/main.m index cb425a37b3..4ba48c1933 100644 --- a/apple/RetroArch/main.m +++ b/apple/RetroArch/main.m @@ -24,7 +24,6 @@ #include "file.h" //#define HAVE_DEBUG_FILELOG -static bool use_tv_mode; id apple_platform; @@ -175,6 +174,6 @@ void apple_rarch_exited(void* result) [apple_platform unloadingCore:used_core]; } - if (use_tv_mode) + if (apple_use_tv_mode) apple_run_core(nil, 0); } diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index 1642e00189..c70e167fe0 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -127,12 +127,12 @@ static void handle_touch_event(NSArray* touches) - (void)applicationDidBecomeActive:(UIApplication *)application { - apple_enter_stasis(); + apple_exit_stasis(); } - (void)applicationWillResignActive:(UIApplication *)application { - apple_exit_stasis(); + apple_enter_stasis(); } // UINavigationControllerDelegate