mirror of
https://github.com/RocketRobz/SuperAllStarPhotoStudio.git
synced 2025-06-18 17:15:35 -04:00
DS(i): Compile a .ds.gba version for GBA flashcards
This commit is contained in:
parent
b653024031
commit
6c34f92c5a
1
nds/.gitignore
vendored
1
nds/.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
# Binary File
|
||||
*.nds
|
||||
*.NDS
|
||||
*.gba
|
||||
*.cia
|
||||
*.app
|
||||
*.elf
|
||||
|
@ -12,7 +12,7 @@ include $(DEVKITARM)/ds_rules
|
||||
|
||||
.PHONY: clean makearm7 makearm9
|
||||
|
||||
all: $(TARGET).nds
|
||||
all: $(TARGET).nds $(TARGET).ds.gba
|
||||
|
||||
makearm7:
|
||||
$(MAKE) -C arm7
|
||||
@ -26,9 +26,12 @@ $(TARGET).nds: makearm7 makearm9
|
||||
ndstool -c $(TARGET).nds -7 $(TARGET).arm7.elf -9 $(TARGET).arm9.elf -d $(NITRODATA) \
|
||||
-g HPHA 00 "SUPERPHOTO" -z 80040000 -u 00030004 -a 00000138 -b icon.bmp "Super Photo Studio;RocketRobz"
|
||||
|
||||
$(TARGET).ds.gba: $(TARGET).nds
|
||||
cat loader.bin $(TARGET).nds > $(TARGET).ds.gba
|
||||
|
||||
clean:
|
||||
@echo clean ...
|
||||
@rm -fr $(BUILD) $(TARGET).elf $(TARGET).nds
|
||||
@rm -fr $(BUILD) $(TARGET).elf $(TARGET).nds $(TARGET).ds.gba
|
||||
@rm -fr $(TARGET).arm7.elf
|
||||
@rm -fr $(TARGET).arm9.elf
|
||||
@$(MAKE) -C arm9 clean
|
||||
|
BIN
nds/loader.bin
Normal file
BIN
nds/loader.bin
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user