18 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 |
|
*/ |
20 |
|
|
21 |
– |
#import "VMSettingsController.h" |
22 |
– |
|
21 |
|
#import "sysdeps.h" |
22 |
|
#import "prefs.h" |
23 |
|
|
24 |
+ |
// The _UINT64 define is needed to guard against a typedef mismatch with Snow Leopard headers. |
25 |
+ |
#define _UINT64 |
26 |
+ |
|
27 |
+ |
#import "VMSettingsController.h" |
28 |
+ |
|
29 |
|
const int CDROMRefNum = -62; // RefNum of driver |
30 |
|
|
31 |
|
#ifdef STANDALONE_PREFS |
180 |
|
AddPrefsDefaults(); |
181 |
|
AddPlatformPrefsDefaults(); |
182 |
|
LoadPrefs([vmdir fileSystemRepresentation]); |
183 |
+ |
PrefsReplaceString("screen", "win/800/600"); |
184 |
+ |
PrefsReplaceString("extfs", ""); |
185 |
+ |
PrefsReplaceString("ether", "slirp"); |
186 |
+ |
PrefsReplaceInt32("ramsize", 64 << 20); |
187 |
+ |
PrefsReplaceInt32("frameskip", 2); |
188 |
+ |
PrefsReplaceBool("jit", true); |
189 |
|
NSWindow *window = [self window]; |
190 |
+ |
[self setupGUI]; |
191 |
|
[NSApp runModalForWindow:window]; |
192 |
|
} |
193 |
|
|