DLDI patch flashcard-specific targets

This is probably not needed as users are likely to use another
bootloader, but it's useful nonetheless particularly for the DSTT
which may not need such a thing.
This commit is contained in:
lifehackerhansol 2024-11-03 10:51:55 -08:00
parent 62a7fb2220
commit c310511fe2
No known key found for this signature in database
GPG Key ID: 80FB184AFC0B3B0E

View File

@ -65,18 +65,21 @@ $(TARGET)_ak2.nds : $(NITRO_FILES) arm7/$(TARGET).elf arm9_ak2/$(TARGET).elf
ndstool -c $@ -7 arm7/$(TARGET).elf -9 arm9_ak2/$(TARGET).elf \ ndstool -c $@ -7 arm7/$(TARGET).elf -9 arm9_ak2/$(TARGET).elf \
-b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" \ -b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" \
$(_ADDFILES) $(_ADDFILES)
dlditool DLDI/ak2_sd.dldi $@
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
$(TARGET)_m3.nds : $(NITRO_FILES) arm7/$(TARGET).elf arm9_m3/$(TARGET).elf $(TARGET)_m3.nds : $(NITRO_FILES) arm7/$(TARGET).elf arm9_m3/$(TARGET).elf
ndstool -c $@ -7 arm7/$(TARGET).elf -9 arm9_m3/$(TARGET).elf \ ndstool -c $@ -7 arm7/$(TARGET).elf -9 arm9_m3/$(TARGET).elf \
-b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" \ -b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" \
$(_ADDFILES) $(_ADDFILES)
dlditool DLDI/m3ds.dldi $@
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
$(TARGET)_tt.nds : $(NITRO_FILES) arm7/$(TARGET).elf arm9_tt/$(TARGET).elf $(TARGET)_tt.nds : $(NITRO_FILES) arm7/$(TARGET).elf arm9_tt/$(TARGET).elf
ndstool -c $@ -7 arm7/$(TARGET).elf -9 arm9_tt/$(TARGET).elf \ ndstool -c $@ -7 arm7/$(TARGET).elf -9 arm9_tt/$(TARGET).elf \
-b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" \ -b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" \
$(_ADDFILES) $(_ADDFILES)
dlditool DLDI/ttio.dldi $@
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
$(TARGET).dsi : $(NITRO_FILES) arm7/$(TARGET).elf arm9_dsi/$(TARGET).elf $(TARGET).dsi : $(NITRO_FILES) arm7/$(TARGET).elf arm9_dsi/$(TARGET).elf