filename | src/main.c |
changeset | 2:42349f6ea216 |
prev | 1:eea311cfd33e |
next | 9:2784c7660165 |
author | nkeynes |
date | Sat Oct 02 05:49:39 2004 +0000 (19 years ago) |
permissions | -rw-r--r-- |
last change | compile fix |
view | annotate | diff | log | raw |
1 /*
2 * Initial main.c file generated by Glade. Edit as required.
3 * Glade will not overwrite this file.
4 */
6 #ifdef HAVE_CONFIG_H
7 # include <config.h>
8 #endif
10 #include <gnome.h>
12 #include "interface.h"
13 #include "gui.h"
14 #include "sh4core.h"
15 #include "mem.h"
18 int
19 main (int argc, char *argv[])
20 {
21 GtkWidget *debug_win;
23 #ifdef ENABLE_NLS
24 bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
25 textdomain (PACKAGE);
26 #endif
27 gnome_init ("dreamon", VERSION, argc, argv);
28 init_gui();
29 debug_win = create_debug_win ();
30 init_debug_win(debug_win);
31 video_open();
32 dreamcast_init();
33 init_mmr_win(); /* Note: must be done after sh4_init */
34 sh4_reset();
35 update_gui();
36 gtk_widget_show (debug_win);
37 set_disassembly_region( 0xA0000000 );
38 // mem_new_watch( 0x0C204818, 0x0C204830, WATCH_WRITE );
40 emit( EMIT_INFO, -1, "DreamOn! ready..." );
42 gtk_main ();
43 return 0;
44 }
.