(iOS) Fix major hanging bug

This commit is contained in:
meancoot 2013-08-15 09:50:22 -04:00
parent 7ac8636842
commit 0d291e809a
2 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,6 @@
#include "file.h"
//#define HAVE_DEBUG_FILELOG
static bool use_tv_mode;
id<RetroArch_Platform> 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);
}

View File

@ -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