1.1 --- a/src/loader.c Sun Aug 24 01:58:09 2008 +0000
1.2 +++ b/src/loader.c Sun Jun 28 09:22:43 2009 +0000
1.3 @@ -107,17 +107,19 @@
1.5 void file_load_postload( const gchar *filename, int pc )
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.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.19 dreamcast_program_loaded( filename, pc );
1.20 + g_free(bootstrap_file);