filename | src/main.c |
changeset | 27:1ef09a52cd1e |
prev | 25:fa2d21d57942 |
next | 30:89b30313d757 |
author | nkeynes |
date | Sun Dec 25 04:54:40 2005 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | Set disasm PC on startup |
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 "gui/gui.h"
13 #include "dream.h"
14 #include "dreamcast.h"
16 int
17 main (int argc, char *argv[])
18 {
19 #ifdef ENABLE_NLS
20 bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
21 textdomain (PACKAGE);
22 #endif
23 dreamcast_init();
24 gnome_init ("dreamon", VERSION, argc, argv);
25 dreamcast_register_module( >k_gui_module );
26 video_open();
27 // mem_new_watch( 0x0C204818, 0x0C204830, WATCH_WRITE );
29 emit( main_debug, EMIT_INFO, -1, "DreamOn! ready..." );
31 gtk_main ();
32 return 0;
33 }
.