MCPcopy Create free account
hub / github.com/TASEmulators/fceux / breakOnCyclesCB

Function breakOnCyclesCB

src/drivers/sdl/debugger.cpp:1572–1588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1570}
1571
1572static void breakOnCyclesCB( GtkToggleButton *togglebutton, debuggerWin_t * dw)
1573{
1574 const char *txt;
1575
1576 break_on_cycles = !break_on_cycles;
1577
1578 txt = gtk_entry_get_text( GTK_ENTRY(dw->brk_cycles_lim_entry) );
1579
1580 //printf("'%s'\n", txt );
1581
1582 if ( isdigit(txt[0]) )
1583 {
1584 break_cycles_limit = strtoul( txt, NULL, 0 );
1585 }
1586
1587 updateAllDebugWindows();
1588}
1589
1590static void
1591breakOnCyclesLimitCB (GtkEntry *entry,

Callers

nothing calls this directly

Calls 1

updateAllDebugWindowsFunction · 0.85

Tested by

no test coverage detected