From 4ae967b033fa2f666f05bb65e9e919b0fb9832aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20A=2E=20A=CC=81lvarez?= Date: Sun, 29 May 2016 00:43:03 +0200 Subject: [PATCH] init defaults after loading emulator bundle (fixes initial speed value) --- Mini vMac/AppDelegate.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mini vMac/AppDelegate.m b/Mini vMac/AppDelegate.m index 280853d..e216af2 100644 --- a/Mini vMac/AppDelegate.m +++ b/Mini vMac/AppDelegate.m @@ -32,12 +32,11 @@ static NSObject *sharedEmulator = nil; - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { sharedAppDelegate = self; - [self initDefaults]; if (![self loadEmulator:[[NSUserDefaults standardUserDefaults] stringForKey:@"machine"]]) { [self loadEmulator:@"MacPlus4M"]; } + [self initDefaults]; [sharedEmulator performSelector:@selector(run) withObject:nil afterDelay:0.1]; - return YES; }