mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
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
Block a user