Search
lxdream.org :: lxdream/src/loader.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/loader.c
changeset 537:d924be49e192
prev502:c4ecae2b1b5e
next543:361ec0a70cf2
author nkeynes
date Tue Nov 20 10:27:58 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Move gtk UI into gtkui subdir (prep for non-gtk builds), and protect with
an automake conditional
file annotate diff log raw
1.1 --- a/src/loader.c Thu Nov 08 11:54:16 2007 +0000
1.2 +++ b/src/loader.c Tue Nov 20 10:27:58 2007 +0000
1.3 @@ -31,9 +31,7 @@
1.4 #include "config.h"
1.5 #include "loader.h"
1.6 #include "syscall.h"
1.7 -
1.8 -// FIXME: This probably shouldn't be here
1.9 -#include <gui/gtkui.h>
1.10 +#include "gui.h"
1.11
1.12 char bootstrap_magic[32] = "SEGA SEGAKATANA SEGA ENTERPRISES";
1.13 char iso_magic[6] = "\001CD001";
1.14 @@ -80,7 +78,7 @@
1.15 read( fd, load, BOOTSTRAP_SIZE );
1.16 bootstrap_dump( load, TRUE );
1.17 sh4_set_pc( BOOTSTRAP_LOAD_ADDR + 0x300 );
1.18 - gtk_gui_update();
1.19 + gui_update_state();
1.20 } else {
1.21 /* look for a valid ISO9660 header */
1.22 lseek( fd, 32768, SEEK_SET );
1.23 @@ -128,7 +126,7 @@
1.24 }
1.25 bios_install();
1.26 dcload_install();
1.27 - gtk_gui_update();
1.28 + gui_update_state();
1.29 }
1.30
1.31
.