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

Comparing BasiliskII/src/Windows/prefs_windows.cpp (file contents):
Revision 1.3 by gbeauche, 2004-12-03T22:04:24Z vs.
Revision 1.6 by gbeauche, 2004-12-06T23:42:19Z

# Line 42 | Line 42 | prefs_desc platform_prefs_items[] = {
42          {"ignoresegv", TYPE_BOOLEAN, false,    "ignore illegal memory accesses"},
43   #endif
44          {"enableextfs", TYPE_BOOLEAN, false,   "enable extfs system"},
45 +        {"debugextfs", TYPE_BOOLEAN, false,    "debug extfs system"},
46 +        {"extdrives", TYPE_STRING, false,      "define allowed extfs drives"},
47 +        {"pollmedia", TYPE_BOOLEAN, false,     "poll for new media (e.g. cd, floppy)"},
48 +        {"etherpermanentaddress", TYPE_BOOLEAN, false,  "use permanent NIC address to identify itself"},
49 +        {"ethermulticastmode", TYPE_INT32, false,       "how to multicast packets"},
50 +        {"etherfakeaddress", TYPE_STRING, false,        "optional fake hardware address"},
51 +        {"routerenabled", TYPE_BOOLEAN, false,          "enable NAT/Router module"},
52 +        {"ftp_port_list", TYPE_STRING, false,           "FTP ports list"},
53 +        {"tcp_port", TYPE_STRING, false,                "TCP ports list"},
54 +
55          {NULL, TYPE_END, false, NULL} // End of list
56   };
57  
# Line 107 | Line 117 | void SavePrefs(void)
117   void AddPlatformPrefsDefaults(void)
118   {
119          PrefsAddBool("keycodes", false);
120 +        PrefsReplaceBool("pollmedia", true);
121 +        PrefsReplaceBool("enableextfs", false);
122          PrefsReplaceString("extfs", "");
123 +        PrefsReplaceString("extdrives", "CDEFGHIJKLMNOPQRSTUVWXYZ");
124          PrefsReplaceInt32("mousewheelmode", 1);
125          PrefsReplaceInt32("mousewheellines", 3);
126   #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
127          PrefsAddBool("ignoresegv", false);
128   #endif
129 <        PrefsReplaceBool("enableextfs", false);
129 >        PrefsReplaceBool("etherpermanentaddress", true);
130 >        PrefsReplaceInt32("ethermulticastmode", 0);
131 >        PrefsReplaceBool("routerenabled", false);
132 >        PrefsReplaceString("ftp_port_list", "21");
133   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines