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

Comparing SheepShaver/src/prefs_items.cpp (file contents):
Revision 1.5 by cebix, 2004-01-12T15:37:18Z vs.
Revision 1.9 by asvitkine, 2007-01-24T03:36:48Z

# Line 1 | Line 1
1   /*
2   *  prefs_items.cpp - Common preferences items
3   *
4 < *  SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig
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 37 | Line 37 | prefs_desc common_prefs_items[] = {
37          {"scsi4", TYPE_STRING, false,       "SCSI target for Mac SCSI ID 4"},
38          {"scsi5", TYPE_STRING, false,       "SCSI target for Mac SCSI ID 5"},
39          {"scsi6", TYPE_STRING, false,       "SCSI target for Mac SCSI ID 6"},
40 +        {"screen", TYPE_STRING, false,      "video mode"},
41          {"windowmodes", TYPE_INT32, false,  "bitmap of allowed window video modes"},
42          {"screenmodes", TYPE_INT32, false,  "bitmap of allowed fullscreen video modes"},
43          {"seriala", TYPE_STRING, false,     "device name of Mac serial port A"},
# Line 54 | Line 55 | prefs_desc common_prefs_items[] = {
55          {"noclipconversion", TYPE_BOOLEAN, false, "don't convert clipboard contents"},
56          {"ignoresegv", TYPE_BOOLEAN, false, "ignore illegal memory accesses"},
57          {"jit", TYPE_BOOLEAN, false,        "enable JIT compiler"},
58 +        {"jit68k", TYPE_BOOLEAN, false,     "enable 68k DR emulator"},
59          {"keyboardtype", TYPE_INT32, false, "hardware keyboard type"},
60          {NULL, TYPE_END, false, NULL} // End of list
61   };
# Line 64 | Line 66 | prefs_desc common_prefs_items[] = {
66  
67   void AddPrefsDefaults(void)
68   {
69 + #ifndef PREFS_EDITOR
70          SysAddSerialPrefs();
71 + #endif
72          PrefsAddInt32("bootdriver", 0);
73          PrefsAddInt32("bootdrive", 0);
74          PrefsAddInt32("ramsize", 16 * 1024 * 1024);
# Line 75 | Line 79 | void AddPrefsDefaults(void)
79          PrefsAddBool("nosound", false);
80          PrefsAddBool("nogui", false);
81          PrefsAddBool("noclipconversion", false);
82 <        PrefsAddBool("ignoresegv", true);
82 >        PrefsAddBool("ignoresegv", false);
83  
84   #if USE_JIT
85          // JIT compiler specific options
# Line 83 | Line 87 | void AddPrefsDefaults(void)
87   #else
88          PrefsAddBool("jit", false);
89   #endif
90 +        PrefsAddBool("jit68k", false);
91  
92      PrefsAddInt32("keyboardtype", 5);
93   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines