Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 469:3e2a0fde5cd8
prev464:8e099fad42a6
next470:e09a16196693
author nkeynes
date Sun Oct 28 07:36:11 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Make the sure initial GD (if any) makes its way to the gui
file annotate diff log raw
1.1 --- a/src/main.c Sat Oct 27 05:44:54 2007 +0000
1.2 +++ b/src/main.c Sun Oct 28 07:36:11 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: main.c,v 1.31 2007-10-27 05:44:54 nkeynes Exp $
1.6 + * $Id: main.c,v 1.32 2007-10-28 07:36:11 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 @@ -178,7 +178,7 @@
1.11 INFO( "%s! ready...", APP_NAME );
1.12
1.13 for( ; optind < argc; optind++ ) {
1.14 - gboolean ok = gdrom_mount_image(argv[optind]);
1.15 + gboolean ok = gdrom_menu_open_file(argv[optind]);
1.16 if( !ok ) {
1.17 ok = file_load_magic( argv[optind] );
1.18 }
1.19 @@ -195,7 +195,7 @@
1.20 if( gdrom_get_current_disc() == NULL ) {
1.21 disc_file = lxdream_get_config_value( CONFIG_GDROM );
1.22 if( disc_file != NULL ) {
1.23 - gdrom_mount_image( disc_file );
1.24 + gdrom_menu_open_file( disc_file );
1.25 }
1.26 } else {
1.27 lxdream_set_global_config_value( CONFIG_GDROM, gdrom_get_current_disc()->name );
.