From 63b4f8d7047a17b208d0348ef1559510039cca8b Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Sun, 30 Aug 2009 17:56:30 +0000 Subject: [PATCH] better default prefs --- SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm index 408da62e..dd0bb9ef 100644 --- a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm +++ b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm @@ -177,7 +177,14 @@ static NSString *getStringFromPrefs(const char *key) AddPrefsDefaults(); AddPlatformPrefsDefaults(); LoadPrefs([vmdir fileSystemRepresentation]); + PrefsReplaceString("screen", "win/800/600"); + PrefsReplaceString("extfs", ""); + PrefsReplaceString("ether", "slirp"); + PrefsReplaceInt32("ramsize", 64 << 20); + PrefsReplaceInt32("frameskip", 2); + PrefsReplaceBool("jit", true); NSWindow *window = [self window]; + [self setupGUI]; [NSApp runModalForWindow:window]; }