Search
lxdream.org :: lxdream/src/loader.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/loader.c
changeset 450:207461e79f21
prev446:def93c34c84c
next454:f6586b97813a
author nkeynes
date Wed Oct 17 11:26:45 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Split config management out to config.[ch]
Manage config filename
Check home dir + sysconfdir for conf file
Initial work on a path settings dialog
file annotate diff log raw
1.1 --- a/src/loader.c Tue Oct 16 12:28:42 2007 +0000
1.2 +++ b/src/loader.c Wed Oct 17 11:26:45 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: loader.c,v 1.18 2007-10-16 12:28:42 nkeynes Exp $
1.6 + * $Id: loader.c,v 1.19 2007-10-17 11:26:45 nkeynes Exp $
1.7 *
1.8 * File loading routines, mostly for loading demos without going through the
1.9 * whole procedure of making a CD image for them.
1.10 @@ -27,6 +27,7 @@
1.11 #include "sh4core.h"
1.12 #include "bootstrap.h"
1.13 #include "dreamcast.h"
1.14 +#include "config.h"
1.15 #include "loader.h"
1.16 #include "syscall.h"
1.17
1.18 @@ -109,7 +110,7 @@
1.19
1.20 void file_load_postload( int pc )
1.21 {
1.22 - const gchar *bootstrap_file = dreamcast_get_config_value(CONFIG_BOOTSTRAP);
1.23 + const gchar *bootstrap_file = lxdream_get_config_value(CONFIG_BOOTSTRAP);
1.24 if( bootstrap_file != NULL ) {
1.25 /* Load in a bootstrap before the binary, to initialize everything
1.26 * correctly
.