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

Comparing BasiliskII/src/Windows/prefs_editor_gtk.cpp (file contents):
Revision 1.11 by gbeauche, 2006-04-23T15:40:23Z vs.
Revision 1.13 by gbeauche, 2006-04-30T21:46:31Z

# Line 1388 | Line 1388 | static void mn_ether_router(void)
1388          PrefsRemoveItem("etherguid");
1389   }
1390  
1391 + // Ethernet option "Basilisk II Slirp" selected
1392 + static void mn_ether_slirp(void)
1393 + {
1394 +        PrefsReplaceString("ether", "slirp");
1395 +        PrefsRemoveItem("etherguid");
1396 + }
1397 +
1398   // Ethernet option for Basilisk II driver selected
1399   static void mn_ether_b2ether(GtkWidget *, const char *guid)
1400   {
# Line 1413 | Line 1420 | static int create_ether_menu(GtkWidget *
1420                  active = n_items;
1421          n_items++;
1422  
1423 +        add_menu_item(menu, "Basilisk II Slirp", (GtkSignalFunc)mn_ether_router);
1424 +        if (ether && strcmp(ether, "slirp") == 0)
1425 +                active = n_items;
1426 +        n_items++;
1427 +
1428          PacketOpenAdapter("", 0);
1429          {
1430                  ULONG sz;
# Line 1511 | Line 1523 | static GtkWidget *w_ramsize;
1523   static GtkWidget *w_rom_file;
1524  
1525   // Don't use CPU when idle?
1514 #ifdef SHEEPSHAVER
1526   static void tb_idlewait(GtkWidget *widget)
1527   {
1528          PrefsReplaceBool("idlewait", GTK_TOGGLE_BUTTON(widget)->active);
1529   }
1519 #endif
1530  
1531   // "Ignore SEGV" button toggled
1532   #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
# Line 1616 | Line 1626 | static void create_memory_pane(GtkWidget
1626  
1627          w_rom_file = table_make_file_entry(table, 4, STR_ROM_FILE_CTRL, "rom");
1628  
1629 +        make_checkbox(box, STR_IDLEWAIT_CTRL, "idlewait", GTK_SIGNAL_FUNC(tb_idlewait));
1630 +
1631   #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
1632          make_checkbox(box, STR_IGNORESEGV_CTRL, "ignoresegv", GTK_SIGNAL_FUNC(tb_ignoresegv));
1633   #endif
1622
1623 #ifdef SHEEPSHAVER
1624        make_checkbox(box, STR_IDLEWAIT_CTRL, "idlewait", GTK_SIGNAL_FUNC(tb_idlewait));
1625 #endif
1634   }
1635  
1636  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines