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

Comparing BasiliskII/src/prefs.cpp (file contents):
Revision 1.2 by cebix, 1999-10-19T17:41:18Z vs.
Revision 1.6 by cebix, 2000-05-16T17:11:37Z

# Line 1 | Line 1
1   /*
2   *  prefs.cpp - Preferences handling
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 Christian Bauer
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 49 | Line 49 | prefs_desc common_prefs_items[] = {
49          {"serialb", TYPE_STRING, false},        // Device name of Mac serial port B (serial_*.cpp)
50          {"ether", TYPE_STRING, false},          // Device name of Mac ethernet adapter (ether_*.cpp)
51          {"rom", TYPE_STRING, false},            // Path of ROM file (main_*.cpp)
52 <        {"bootdrive", TYPE_INT16, false},       // Boot drive number (main_*.cpp)
53 <        {"bootdriver", TYPE_INT16, false},      // Boot driver number (main_*.cpp)
52 >        {"bootdrive", TYPE_INT16, false},       // Boot drive number (main.cpp)
53 >        {"bootdriver", TYPE_INT16, false},      // Boot driver number (main.cpp)
54          {"ramsize", TYPE_INT32, false},         // Size of Mac RAM in bytes (main_*.cpp)
55          {"frameskip", TYPE_INT32, false},       // Number of frames to skip in refreshed video modes (video_*.cpp)
56          {"modelid", TYPE_INT32, false},         // Mac Model ID (Gestalt Model ID minus 6) (rom_patches.cpp)
57 <        {"fpu", TYPE_BOOLEAN, false},           // Enable FPU emulation (main_*.cpp)
57 >        {"cpu", TYPE_INT32, false},                     // CPU type (0 = 68000, 1 = 68010 etc.) (main.cpp)
58 >        {"fpu", TYPE_BOOLEAN, false},           // Enable FPU emulation (main.cpp)
59          {"nocdrom", TYPE_BOOLEAN, false},       // Don't install CD-ROM driver (cdrom.cpp/rom_patches.cpp)
60          {"nosound", TYPE_BOOLEAN, false},       // Don't enable sound output (audio_*.cpp)
61 +        {"noclipconversion", TYPE_BOOLEAN, false}, // Don't convert clipboard contents (clip_*.cpp)
62          {"nogui", TYPE_BOOLEAN, false},         // Disable GUI (main_*.cpp)
63          {NULL, TYPE_END, false} // End of list
64   };
# Line 90 | Line 92 | void PrefsInit(void)
92          PrefsAddInt32("ramsize", 8 * 1024 * 1024);
93          PrefsAddInt32("frameskip", 6);
94          PrefsAddInt32("modelid", 5);    // Mac IIci
95 +        PrefsAddInt32("cpu", 3);                // 68030
96          PrefsAddBool("fpu", false);
97          PrefsAddBool("nocdrom", false);
98          PrefsAddBool("nosound", false);
99 +        PrefsAddBool("noclipconversion", false);
100          PrefsAddBool("nogui", false);
101          AddPlatformPrefsDefaults();
102  
# Line 331 | Line 335 | void LoadPrefsFromStream(FILE *f)
335  
336                  // Skip whitespace until value
337                  while (isspace(*p)) p++;
334                if (*p == 0)
335                        continue;
338                  char *keyword = line;
339                  char *value = p;
340                  int32 i = atol(value);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines