Search
lxdream.org :: lxdream :: r134:d194907efdab
lxdream 0.9.1
released Jun 29
Download Now
changeset134:d194907efdab
parent133:249aeda31f02
child135:2b05ea3d87c1
authornkeynes
dateThu Mar 30 11:31:05 2006 +0000 (14 years ago)
Move state into pvr2_state structure for ease of save/load
src/gui/debug_win.c
1.1 --- a/src/gui/debug_win.c Thu Mar 30 11:30:59 2006 +0000
1.2 +++ b/src/gui/debug_win.c Thu Mar 30 11:31:05 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: debug_win.c,v 1.17 2006-02-15 12:39:34 nkeynes Exp $
1.6 + * $Id: debug_win.c,v 1.18 2006-03-30 11:31:05 nkeynes Exp $
1.7 * This file is responsible for the main debugger gui frame.
1.8 *
1.9 * Copyright (c) 2005 Nathan Keynes.
1.10 @@ -131,7 +131,7 @@
1.11 void update_icount( debug_info_t data )
1.12 {
1.13 // sprintf( data->icounter_text, "%d", *data->cpu->icount );
1.14 - sprintf( data->icounter_text, "%d", pvr2_frame_counter );
1.15 + sprintf( data->icounter_text, "%d", pvr2_get_frame_count() );
1.16 gtk_progress_bar_set_text( data->icounter, data->icounter_text );
1.17 }
1.18
.