From 6edacdee36d31b2df69559f28a33b8d9e958bf5e Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 20 Jul 2019 12:00:45 -0400 Subject: [PATCH] Pad the GBA using gbafix instead of objcopy --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7ca3b5bac..7868a6e1e 100644 --- a/Makefile +++ b/Makefile @@ -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