ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm
(Generate patch)

Comparing SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm (file contents):
Revision 1.6 by asvitkine, 2009-08-18T03:42:11Z vs.
Revision 1.9 by asvitkine, 2010-12-28T02:50:55Z

# Line 1 | Line 1
1   /*
2   *  VMSettingsController.mm - Preferences editing in Cocoa on Mac OS X
3   *
4 < *  Copyright (C) 2006-2009 Alexei Svitkine
4 > *  Copyright (C) 2006-2010 Alexei Svitkine
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 18 | Line 18
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 + #include <unistd.h>
30 +
31   const int CDROMRefNum = -62;                    // RefNum of driver
32  
33   #ifdef STANDALONE_PREFS
# Line 177 | Line 182 | static NSString *getStringFromPrefs(cons
182    AddPrefsDefaults();
183    AddPlatformPrefsDefaults();
184    LoadPrefs([vmdir fileSystemRepresentation]);
185 +  PrefsReplaceString("screen", "win/800/600");
186 +  PrefsReplaceString("extfs", "");
187 +  PrefsReplaceString("ether", "slirp");
188 +  PrefsReplaceInt32("ramsize", 64 << 20);
189 +  PrefsReplaceInt32("frameskip", 2);
190 +  PrefsReplaceBool("jit", true);
191    NSWindow *window = [self window];
192 +  [self setupGUI];
193    [NSApp runModalForWindow:window];
194   }
195  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines