better default prefs

This commit is contained in:
asvitkine 2009-08-30 17:56:30 +00:00
parent f06f035428
commit 63b4f8d704

View File

@ -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];
}