diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-12 17:11:27 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-12 17:11:27 -0400 |
commit | f64421dd8cc397f7d4551f3dc674e80a31d36631 (patch) | |
tree | 74b99be45636aba498512ba75f8eaf09272035af /Makefile | |
parent | 39d68ebd445be5657a916dec1b4872717e9c40d3 (diff) |
Remove hardcoded gap
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -244,10 +244,10 @@ $(OBJ_DIR)/ld_script.ld: ld_script.txt $(OBJ_DIR)/sym_bss.ld $(OBJ_DIR)/sym_comm $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS) cd $(OBJ_DIR) && ../../$(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ $(LIB) + $(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent $(ROM): $(ELF) - $(OBJCOPY) -O binary $< $@ - $(FIX) $@ -p -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent + $(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $< $@ berry_fix/berry_fix.gba: @$(MAKE) -C berry_fix |