diff --git a/.gitignore b/.gitignore index b0d2332..9e46ac2 100644 --- a/.gitignore +++ b/.gitignore @@ -282,6 +282,7 @@ ReleaseWinXp/ *.elf *.bin *.cdi +*.img cd_root/*.WAV cd_root/*.DAT cd_root/*.EXE diff --git a/Makefile b/Makefile index eefee78..0381085 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ LIBS := -lADX # Optional path to a directory of resources to bundle within your ELF binary. # Its contents are accessible via the "/rd/" virtual directory at runtime. -#KOS_ROMDISK_DIR = romdisk +KOS_ROMDISK_DIR = romdisk +OBJS += romdisk.o # Main rule which forces our ELF binary to be built all: rm-elf $(TARGET) diff --git a/cd_root/splash.raw b/romdisk/splash.raw similarity index 100% rename from cd_root/splash.raw rename to romdisk/splash.raw diff --git a/src/dc_graphics.cpp b/src/dc_graphics.cpp index 0bf9b0d..d1279ac 100644 --- a/src/dc_graphics.cpp +++ b/src/dc_graphics.cpp @@ -16,7 +16,7 @@ void dc_graphics::Initialize() // splash image is 320x222 RGB565 splash_raw = new uint16_t[320*222]; - FILE* f = fopen("/cd/splash.raw", "rb"); + FILE* f = fopen("/rd/splash.raw", "rb"); fread(splash_raw, 320*222*2, 1, f); fclose(f); }