ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/prefs_items.cpp
(Generate patch)

Comparing BasiliskII/src/prefs_items.cpp (file contents):
Revision 1.2 by cebix, 2000-07-25T16:25:04Z vs.
Revision 1.3 by cebix, 2001-01-04T19:50:22Z

# Line 26 | Line 26
26  
27   // Common preferences items (those which exist on all platforms)
28   // Except for "disk", "floppy", "cdrom", "scsiX", "screen", "rom" and "ether",
29 < // these are guaranteed to be in the prefs; "disk", "floppy" and "cdrom" can
30 < // occur multiple times
29 > // these are guaranteed to be in the prefs.
30   prefs_desc common_prefs_items[] = {
31          {"disk", TYPE_STRING, true},            // Device/file names of Mac volumes (disk.cpp)
32          {"floppy", TYPE_STRING, true},          // Device/file names of Mac floppy drives (sony.cpp)
# Line 45 | Line 44 | prefs_desc common_prefs_items[] = {
44          {"serialb", TYPE_STRING, false},        // Device name of Mac serial port B (serial_*.cpp)
45          {"ether", TYPE_STRING, false},          // Device name of Mac ethernet adapter (ether_*.cpp)
46          {"rom", TYPE_STRING, false},            // Path of ROM file (main_*.cpp)
47 <        {"bootdrive", TYPE_INT16, false},       // Boot drive number (main.cpp)
48 <        {"bootdriver", TYPE_INT16, false},      // Boot driver number (main.cpp)
47 >        {"bootdrive", TYPE_INT32, false},       // Boot drive number (main.cpp)
48 >        {"bootdriver", TYPE_INT32, false},      // Boot driver number (main.cpp)
49          {"ramsize", TYPE_INT32, false},         // Size of Mac RAM in bytes (main_*.cpp)
50          {"frameskip", TYPE_INT32, false},       // Number of frames to skip in refreshed video modes (video_*.cpp)
51          {"modelid", TYPE_INT32, false},         // Mac Model ID (Gestalt Model ID minus 6) (rom_patches.cpp)
# Line 67 | Line 66 | prefs_desc common_prefs_items[] = {
66   void AddPrefsDefaults(void)
67   {
68          SysAddSerialPrefs();
69 <        PrefsAddInt16("bootdriver", 0);
70 <        PrefsAddInt16("bootdrive", 0);
69 >        PrefsAddInt32("bootdriver", 0);
70 >        PrefsAddInt32("bootdrive", 0);
71          PrefsAddInt32("ramsize", 8 * 1024 * 1024);
72          PrefsAddInt32("frameskip", 6);
73          PrefsAddInt32("modelid", 5);    // Mac IIci

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines