diff --git a/CoresRetro/RetroArch/PVRetroArch_Test/main.m b/CoresRetro/RetroArch/PVRetroArch_Test/main.m index 7b22991816..9bfb14ad6c 100644 --- a/CoresRetro/RetroArch/PVRetroArch_Test/main.m +++ b/CoresRetro/RetroArch/PVRetroArch_Test/main.m @@ -60,6 +60,14 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( return YES; } +- (void)applicationDidBecomeActive:(NSNotification *)notification { + [core setPauseEmulation:false]; + } + + - (void)applicationDidResignActive:(NSNotification *)notification { + [core setPauseEmulation:true]; + } + - (void)sendEvent:(UIEvent *)event { if (core != nil) { [core sendEvent:event];