2 * $Id: debugcb.c,v 1.3 2007-10-21 05:21:35 nkeynes Exp $
4 * All GTK callbacks go here (stubs are autogenerated by Glade)
6 * Copyright (c) 2005 Nathan Keynes.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
22 #include "gui/debugcb.h"
23 #include "gui/debugif.h"
24 #include "gui/gtkui.h"
25 #include "gdrom/gdrom.h"
28 #include "dreamcast.h"
30 #include "pvr2/pvr2.h"
32 void on_trace_button_toggled (GtkToggleButton *button,
35 struct mmio_region *io_rgn = (struct mmio_region *)user_data;
36 gboolean isActive = gtk_toggle_button_get_active(button);
37 if( io_rgn != NULL ) {
38 io_rgn->trace_flag = isActive ? 1 : 0;
44 on_mmr_win_delete_event (GtkWidget *widget,
54 on_mmr_close_clicked (GtkButton *button,
.