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.12 by gbeauche, 2006-04-29T14:15:01Z vs.
Revision 1.13 by gbeauche, 2006-04-30T21:46:31Z

# Line 1523 | Line 1523 | static GtkWidget *w_ramsize;
1523   static GtkWidget *w_rom_file;
1524  
1525   // Don't use CPU when idle?
1526 #ifdef SHEEPSHAVER
1526   static void tb_idlewait(GtkWidget *widget)
1527   {
1528          PrefsReplaceBool("idlewait", GTK_TOGGLE_BUTTON(widget)->active);
1529   }
1531 #endif
1530  
1531   // "Ignore SEGV" button toggled
1532   #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
# Line 1628 | 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
1634
1635 #ifdef SHEEPSHAVER
1636        make_checkbox(box, STR_IDLEWAIT_CTRL, "idlewait", GTK_SIGNAL_FUNC(tb_idlewait));
1637 #endif
1634   }
1635  
1636  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines