Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 470:e09a16196693
prev469:3e2a0fde5cd8
next480:d28c2992f5ee
author nkeynes
date Sun Oct 28 08:29:29 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Maintain current gdrom and recently-used list in config file
file annotate diff log raw
1.1 --- a/src/main.c Sun Oct 28 07:36:11 2007 +0000
1.2 +++ b/src/main.c Sun Oct 28 08:29:29 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: main.c,v 1.32 2007-10-28 07:36:11 nkeynes Exp $
1.6 + * $Id: main.c,v 1.33 2007-10-28 08:29:29 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 @@ -189,7 +189,7 @@
1.11 }
1.12
1.13 if( disc_file != NULL ) {
1.14 - gdrom_mount_image( disc_file );
1.15 + gdrom_menu_open_file( disc_file );
1.16 }
1.17
1.18 if( gdrom_get_current_disc() == NULL ) {
1.19 @@ -197,8 +197,6 @@
1.20 if( disc_file != NULL ) {
1.21 gdrom_menu_open_file( disc_file );
1.22 }
1.23 - } else {
1.24 - lxdream_set_global_config_value( CONFIG_GDROM, gdrom_get_current_disc()->name );
1.25 }
1.26
1.27 sh4_set_use_xlat( use_xlat );
.