Search
lxdream.org :: lxdream/src/main.c
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 27:1ef09a52cd1e
prev25:fa2d21d57942
next30:89b30313d757
author nkeynes
date Sun Dec 25 01:28:39 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Refactor all the GUI bits out of the main directory (except for a couple
lingering temporarily in loader.c
Fix a few timeslice issues
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( &gtk_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 }
.