filename | src/main.c |
changeset | 1:eea311cfd33e |
next | 2:42349f6ea216 |
author | nkeynes |
date | Sat Mar 13 00:03:32 2004 +0000 (20 years ago) |
permissions | -rw-r--r-- |
last change | This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches. |
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"
17 int
18 main (int argc, char *argv[])
19 {
20 GtkWidget *debug_win;
22 #ifdef ENABLE_NLS
23 bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
24 textdomain (PACKAGE);
25 #endif
26 gnome_init ("dreamon", VERSION, argc, argv);
28 debug_win = create_debug_win ();
29 init_debug_win(debug_win);
30 video_open();
31 machine_init();
32 init_mmr_win(); /* Note: must be done after sh4_init */
33 sh4_reset();
34 update_registers();
35 gtk_widget_show (debug_win);
36 set_disassembly_region( 0xA0000000 );
37 emit( EMIT_INFO, -1, "DreamOn! ready..." );
39 gtk_main ();
40 return 0;
41 }
.