Search
lxdream.org :: lxdream/src/loader.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/loader.c
changeset 1036:af7b0c5905dd
prev825:2ac7ceccd775
next1075:1a21750d300c
author nkeynes
date Wed Jun 24 06:06:40 2009 +0000 (12 years ago)
permissions -rw-r--r--
last change Support shell substitutions in config paths
Keep track of last folder in file dialogs
Fix out-of-dateness in GTK path dialog
file annotate diff log raw
1.1 --- a/src/loader.c Sun Aug 24 01:58:09 2008 +0000
1.2 +++ b/src/loader.c Wed Jun 24 06:06:40 2009 +0000
1.3 @@ -107,17 +107,19 @@
1.4
1.5 void file_load_postload( const gchar *filename, int pc )
1.6 {
1.7 - const gchar *bootstrap_file = lxdream_get_config_value(CONFIG_BOOTSTRAP);
1.8 + gchar *bootstrap_file = lxdream_get_global_config_path_value(CONFIG_BOOTSTRAP);
1.9 if( bootstrap_file != NULL && bootstrap_file[0] != '\0' ) {
1.10 /* Load in a bootstrap before the binary, to initialize everything
1.11 * correctly
1.12 */
1.13 if( mem_load_block( bootstrap_file, BOOTSTRAP_LOAD_ADDR, BOOTSTRAP_SIZE ) == 0 ) {
1.14 dreamcast_program_loaded( filename, BOOTSTRAP_LOAD_ADDR+0x300 );
1.15 + g_free(bootstrap_file);
1.16 return;
1.17 }
1.18 }
1.19 dreamcast_program_loaded( filename, pc );
1.20 + g_free(bootstrap_file);
1.21 }
1.22
1.23
.