Fixed boot ROM trimming

This commit is contained in:
Lior Halphon 2016-08-07 00:39:32 +03:00
parent 109af49933
commit a5670b6643
1 changed files with 1 additions and 1 deletions

View File

@ -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