Pad the GBA using gbafix instead of objcopy

This commit is contained in:
PikalaxALT 2019-07-20 12:00:45 -04:00
parent 8d0d5cfd55
commit 6edacdee36

View File

@ -251,6 +251,7 @@ $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
$(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent
$(ROM): $(ELF)
$(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $< $@
$(OBJCOPY) -O binary $< $@
$(FIX) $@ -p --silent
modern: ; @$(MAKE) MODERN=1