From a5670b66435e3d7fdadc8c9542596c8d32dead71 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 7 Aug 2016 00:39:32 +0300 Subject: [PATCH] Fixed boot ROM trimming --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f28b3512..033a62c0 100644 --- a/Makefile +++ b/Makefile @@ -121,7 +121,7 @@ $(BIN)/BootROMs/%.bin: BootROMs/%.asm -@mkdir -p $(dir $@) cd BootROMs && rgbasm -o ../$@.tmp ../$< rgblink -o $@.tmp2 $@.tmp - head -c $(if $(filter dmg,$(CC)), 256, 2309) $@.tmp2 > $@ + head -c $(if $(findstring dmg,$@), 256, 2304) $@.tmp2 > $@ @rm $@.tmp $@.tmp2 $(BIN)/sdl/%.bin: $(BIN)/BootROMs/%.bin