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

Function breakOnCyclesLimitCB

src/drivers/sdl/debugger.cpp:1590–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1588}
1589
1590static void
1591breakOnCyclesLimitCB (GtkEntry *entry,
1592// gchar *string,
1593 gpointer user_data)
1594{
1595 const char *txt;
1596
1597 txt = gtk_entry_get_text( entry );
1598
1599 //printf("'%s'\n", txt );
1600
1601 if ( isdigit(txt[0]) )
1602 {
1603 break_cycles_limit = strtoul( txt, NULL, 0 );
1604 }
1605 updateAllDebugWindows();
1606}
1607
1608static void breakOnInstructionsCB( GtkToggleButton *togglebutton, debuggerWin_t * dw)
1609{

Callers

nothing calls this directly

Calls 1

updateAllDebugWindowsFunction · 0.85

Tested by

no test coverage detected