Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 480:d28c2992f5ee
prev470:e09a16196693
next495:4db4702b0778
author nkeynes
date Sun Nov 04 08:49:18 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Fix pointer=>int conversions to use intptr_t types
file annotate diff log raw
1.1 --- a/src/main.c Sun Oct 28 08:29:29 2007 +0000
1.2 +++ b/src/main.c Sun Nov 04 08:49:18 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: main.c,v 1.33 2007-10-28 08:29:29 nkeynes Exp $
1.6 + * $Id: main.c,v 1.34 2007-10-31 11:53:35 nkeynes Exp $
1.7 *
1.8 * Main program, initializes dreamcast and gui, then passes control off to
1.9 * the gtk main loop (currently).
1.10 @@ -40,7 +40,7 @@
1.11 struct option longopts[1] = { { NULL, 0, 0, 0 } };
1.12 char *aica_program = NULL;
1.13 char *s3m_file = NULL;
1.14 -char *disc_file = NULL;
1.15 +const char *disc_file = NULL;
1.16 char *display_driver_name = "gtk";
1.17 char *audio_driver_name = "esd";
1.18 gboolean start_immediately = FALSE;
1.19 @@ -68,7 +68,7 @@
1.20 bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
1.21 textdomain (PACKAGE);
1.22 #endif
1.23 - gboolean ui_initialized = gui_parse_cmdline(&argc, &argv);
1.24 + gui_parse_cmdline(&argc, &argv);
1.25
1.26 while( (opt = getopt_long( argc, argv, option_list, longopts, NULL )) != -1 ) {
1.27 switch( opt ) {
.