Search
lxdream.org :: lxdream/src/gui/callbacks.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/callbacks.c
changeset 45:f99236f0632e
prev43:0cf3e339cc59
next55:96323c198da3
author nkeynes
date Tue Dec 27 08:41:22 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix output list click
Fix mmr column widths
Fix run-to for ARM
file annotate diff log raw
1.1 --- a/src/gui/callbacks.c Mon Dec 26 11:47:15 2005 +0000
1.2 +++ b/src/gui/callbacks.c Tue Dec 27 08:41:22 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: callbacks.c,v 1.11 2005-12-26 11:47:15 nkeynes Exp $
1.6 + * $Id: callbacks.c,v 1.12 2005-12-27 08:41:22 nkeynes Exp $
1.7 *
1.8 * All GTK callbacks go here (stubs are autogenerated by Glade)
1.9 *
1.10 @@ -138,8 +138,8 @@
1.11 if( selected_pc == -1 )
1.12 WARN( "No address selected, so can't run to it", NULL );
1.13 else {
1.14 - INFO( "Running until %08X...", selected_pc );
1.15 - sh4_set_breakpoint( selected_pc, BREAK_ONESHOT );
1.16 + debug_info_t data = get_debug_info(GTK_WIDGET(button));
1.17 + debug_win_set_oneshot_breakpoint( data, selected_row );
1.18 dreamcast_run();
1.19 }
1.20 }
1.21 @@ -150,7 +150,7 @@
1.22 gpointer user_data)
1.23 {
1.24 debug_info_t data = get_debug_info(GTK_WIDGET(button));
1.25 - debug_win_toggle_breakpoint( data, selected_row, BREAK_KEEP );
1.26 + debug_win_toggle_breakpoint( data, selected_row );
1.27 }
1.28
1.29
1.30 @@ -265,7 +265,7 @@
1.31 {
1.32 if( event->type == GDK_2BUTTON_PRESS && event->button.button == 1 ) {
1.33 char *val;
1.34 - gtk_clist_get_text( clist, row, 1, &val );
1.35 + gtk_clist_get_text( clist, row, 2, &val );
1.36 if( val[0] != '\0' ) {
1.37 int addr = strtoul( val, NULL, 16 );
1.38 debug_info_t data = get_debug_info( GTK_WIDGET(clist) );
.