Fixed boot ROM trimming

This commit is contained in:
Lior Halphon 2016-08-07 00:39:32 +03:00
parent 109af49933
commit a5670b6643

View File

@ -121,7 +121,7 @@ $(BIN)/BootROMs/%.bin: BootROMs/%.asm
-@mkdir -p $(dir $@) -@mkdir -p $(dir $@)
cd BootROMs && rgbasm -o ../$@.tmp ../$< cd BootROMs && rgbasm -o ../$@.tmp ../$<
rgblink -o $@.tmp2 $@.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 @rm $@.tmp $@.tmp2
$(BIN)/sdl/%.bin: $(BIN)/BootROMs/%.bin $(BIN)/sdl/%.bin: $(BIN)/BootROMs/%.bin