Play-/Source/ui_ios/AppDelegate.mm
Jean-Philip Desjardins 1fef15cb24 Move AltServer JIT logic in a separate module.
Also added a toggle to enable/disable it.
2021-11-20 15:35:57 -05:00

40 lines
778 B
Text

#import "AppDelegate.h"
#import "EmulatorViewController.h"
#include "../gs/GSH_OpenGL/GSH_OpenGL.h"
#include "DebuggerSimulator.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOption
{
[EmulatorViewController registerPreferences];
CGSH_OpenGL::RegisterPreferences();
return YES;
}
- (void)applicationWillResignActive:(UIApplication*)application
{
}
- (void)applicationDidEnterBackground:(UIApplication*)application
{
}
- (void)applicationWillEnterForeground:(UIApplication*)application
{
}
- (void)applicationDidBecomeActive:(UIApplication*)application
{
}
- (void)applicationWillTerminate:(UIApplication*)application
{
StopSimulateDebugger();
}
@end