Search
lxdream.org :: lxdream/src/gui_android.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui_android.c
changeset 1253:5aa14eeaad5a
prev1245:01e0020adf88
next1275:83b15705cdde
author nkeynes
date Sun Mar 04 20:47:14 2012 +1000 (9 years ago)
permissions -rw-r--r--
last change Load previous GD-ROM on startup
file annotate diff log raw
1.1 --- a/src/gui_android.c Fri Mar 02 23:49:10 2012 +1000
1.2 +++ b/src/gui_android.c Sun Mar 04 20:47:14 2012 +1000
1.3 @@ -235,6 +235,19 @@
1.4 hotkeys_init();
1.5 serial_init();
1.6 maple_reattach_all();
1.7 +
1.8 + ERROR err;
1.9 + gchar *disc_file = lxdream_get_global_config_path_value( CONFIG_GDROM );
1.10 + if( disc_file != NULL ) {
1.11 + gboolean ok = gdrom_mount_image( disc_file, &err );
1.12 + g_free(disc_file);
1.13 + if( !ok ) {
1.14 + WARN( err.msg );
1.15 + } else {
1.16 + INFO( "Mounted %s", disc_file );
1.17 + }
1.18 + }
1.19 +
1.20 INFO( "%s! ready...", APP_NAME );
1.21 android_start_thread();
1.22 }
.