mirror of https://github.com/pret/pokeemerald.git
Pad the GBA using gbafix instead of objcopy
This commit is contained in:
parent
8d0d5cfd55
commit
6edacdee36
3
Makefile
3
Makefile
|
@ -251,6 +251,7 @@ $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
|
||||||
$(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent
|
$(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent
|
||||||
|
|
||||||
$(ROM): $(ELF)
|
$(ROM): $(ELF)
|
||||||
$(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $< $@
|
$(OBJCOPY) -O binary $< $@
|
||||||
|
$(FIX) $@ -p --silent
|
||||||
|
|
||||||
modern: ; @$(MAKE) MODERN=1
|
modern: ; @$(MAKE) MODERN=1
|
||||||
|
|
Loading…
Reference in New Issue