mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 16:30:44 +00:00
update GUI with ether "slirp" on win32
This commit is contained in:
parent
08a6e383e8
commit
6a035aa279
@ -1388,6 +1388,13 @@ static void mn_ether_router(void)
|
||||
PrefsRemoveItem("etherguid");
|
||||
}
|
||||
|
||||
// Ethernet option "Basilisk II Slirp" selected
|
||||
static void mn_ether_slirp(void)
|
||||
{
|
||||
PrefsReplaceString("ether", "slirp");
|
||||
PrefsRemoveItem("etherguid");
|
||||
}
|
||||
|
||||
// Ethernet option for Basilisk II driver selected
|
||||
static void mn_ether_b2ether(GtkWidget *, const char *guid)
|
||||
{
|
||||
@ -1413,6 +1420,11 @@ static int create_ether_menu(GtkWidget *menu)
|
||||
active = n_items;
|
||||
n_items++;
|
||||
|
||||
add_menu_item(menu, "Basilisk II Slirp", (GtkSignalFunc)mn_ether_router);
|
||||
if (ether && strcmp(ether, "slirp") == 0)
|
||||
active = n_items;
|
||||
n_items++;
|
||||
|
||||
PacketOpenAdapter("", 0);
|
||||
{
|
||||
ULONG sz;
|
||||
|
Loading…
x
Reference in New Issue
Block a user