Fixed boot ROM trimming
This commit is contained in:
parent
109af49933
commit
a5670b6643
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user