Search
lxdream.org :: lxdream/src/loader.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/loader.c
changeset 481:3b2d6c5a19ad
prev454:f6586b97813a
next502:c4ecae2b1b5e
author nkeynes
date Wed Oct 31 12:05:23 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix miscellaneous warnings
file annotate diff log raw
1.1 --- a/src/loader.c Sun Oct 21 05:20:35 2007 +0000
1.2 +++ b/src/loader.c Wed Oct 31 12:05:23 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: loader.c,v 1.20 2007-10-21 05:20:35 nkeynes Exp $
1.6 + * $Id: loader.c,v 1.21 2007-10-31 12:05:23 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 @@ -17,6 +17,7 @@
1.11 * GNU General Public License for more details.
1.12 */
1.13
1.14 +#include <unistd.h>
1.15 #include <stdio.h>
1.16 #include <fcntl.h>
1.17 #include <sys/stat.h>
1.18 @@ -31,6 +32,9 @@
1.19 #include "loader.h"
1.20 #include "syscall.h"
1.21
1.22 +// FIXME: This probably shouldn't be here
1.23 +#include <gui/gtkui.h>
1.24 +
1.25 char bootstrap_magic[32] = "SEGA SEGAKATANA SEGA ENTERPRISES";
1.26 char iso_magic[6] = "\001CD001";
1.27 char *file_loader_extensions[][2] = {
.