mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(iOS) Fix major hanging bug
This commit is contained in:
parent
7ac8636842
commit
0d291e809a
@ -24,7 +24,6 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
//#define HAVE_DEBUG_FILELOG
|
//#define HAVE_DEBUG_FILELOG
|
||||||
static bool use_tv_mode;
|
|
||||||
|
|
||||||
id<RetroArch_Platform> apple_platform;
|
id<RetroArch_Platform> apple_platform;
|
||||||
|
|
||||||
@ -175,6 +174,6 @@ void apple_rarch_exited(void* result)
|
|||||||
[apple_platform unloadingCore:used_core];
|
[apple_platform unloadingCore:used_core];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (use_tv_mode)
|
if (apple_use_tv_mode)
|
||||||
apple_run_core(nil, 0);
|
apple_run_core(nil, 0);
|
||||||
}
|
}
|
||||||
|
@ -127,12 +127,12 @@ static void handle_touch_event(NSArray* touches)
|
|||||||
|
|
||||||
- (void)applicationDidBecomeActive:(UIApplication *)application
|
- (void)applicationDidBecomeActive:(UIApplication *)application
|
||||||
{
|
{
|
||||||
apple_enter_stasis();
|
apple_exit_stasis();
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)applicationWillResignActive:(UIApplication *)application
|
- (void)applicationWillResignActive:(UIApplication *)application
|
||||||
{
|
{
|
||||||
apple_exit_stasis();
|
apple_enter_stasis();
|
||||||
}
|
}
|
||||||
|
|
||||||
// UINavigationControllerDelegate
|
// UINavigationControllerDelegate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user