diff --git a/dkarm-eabi/rules/ds_rules b/dkarm-eabi/rules/ds_rules index 64e6915..8c08594 100644 --- a/dkarm-eabi/rules/ds_rules +++ b/dkarm-eabi/rules/ds_rules @@ -22,9 +22,14 @@ ifeq ($(strip $(GAME_ICON)),) GAME_ICON := $(DEVKITPRO)/libnds/icon.bmp endif +ifneq ($(strip $(NITRO_FILES)),) +_ADDFILES := -d $(NITRO_FILES) +endif + #--------------------------------------------------------------------------------- %.nds: %.arm9 - ndstool -c $@ -9 $< -b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" + @echo $(_ADDFILES) + ndstool -c $@ -9 $< -b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)" $(_ADDFILES) @echo built ... $(notdir $@) #---------------------------------------------------------------------------------