1 |
|
/* |
2 |
|
* prefs_items.cpp - Common preferences items |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2002 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 |
43 |
|
{"seriala", TYPE_STRING, false, "device name of Mac serial port A"}, |
44 |
|
{"serialb", TYPE_STRING, false, "device name of Mac serial port B"}, |
45 |
|
{"ether", TYPE_STRING, false, "device name of Mac ethernet adapter"}, |
46 |
+ |
{"udptunnel", TYPE_BOOLEAN, false, "tunnel all network packets over UDP"}, |
47 |
+ |
{"udpport", TYPE_INT32, false, "IP port number for tunneling"}, |
48 |
|
{"rom", TYPE_STRING, false, "path of ROM file"}, |
49 |
|
{"bootdrive", TYPE_INT32, false, "boot drive number"}, |
50 |
|
{"bootdriver", TYPE_INT32, false, "boot driver number"}, |
68 |
|
void AddPrefsDefaults(void) |
69 |
|
{ |
70 |
|
SysAddSerialPrefs(); |
71 |
+ |
PrefsAddBool("udptunnel", false); |
72 |
+ |
PrefsAddInt32("udpport", 6066); |
73 |
|
PrefsAddInt32("bootdriver", 0); |
74 |
|
PrefsAddInt32("bootdrive", 0); |
75 |
|
PrefsAddInt32("ramsize", 8 * 1024 * 1024); |