1433 |
|
static GtkWidget *w_ramsize; |
1434 |
|
static GtkWidget *w_rom_file; |
1435 |
|
|
1436 |
+ |
// Don't use CPU when idle? |
1437 |
+ |
static void tb_idlewait(GtkWidget *widget) |
1438 |
+ |
{ |
1439 |
+ |
PrefsReplaceBool("idlewait", GTK_TOGGLE_BUTTON(widget)->active); |
1440 |
+ |
} |
1441 |
+ |
|
1442 |
|
// "Ignore SEGV" button toggled |
1443 |
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION |
1444 |
|
static void tb_ignoresegv(GtkWidget *widget) |
1531 |
|
|
1532 |
|
w_rom_file = table_make_file_entry(table, 4, STR_ROM_FILE_CTRL, "rom"); |
1533 |
|
|
1534 |
+ |
make_checkbox(box, STR_IDLEWAIT_CTRL, "idlewait", GTK_SIGNAL_FUNC(tb_idlewait)); |
1535 |
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION |
1536 |
|
make_checkbox(box, STR_IGNORESEGV_CTRL, "ignoresegv", GTK_SIGNAL_FUNC(tb_ignoresegv)); |
1537 |
|
#endif |