Use CIC 6102 for iQue decompressed ROMs (#2457)

* Use CIC 6102 for iQue decompressed ROMs

* Future-proof is_ique

* Make things more readable
This commit is contained in:
cadmic
2025-02-06 12:10:30 -08:00
committed by GitHub
parent 9a3878ec7e
commit e63d2b73b7
3 changed files with 19 additions and 18 deletions
+3 -3
View File
@@ -811,9 +811,6 @@ endif
#### Various Recipes ####
$(ROM): $(ELF)
$(ELF2ROM) -cic 6105 $< $@
ifeq ($(PLATFORM),IQUE)
COMPRESS_ARGS := --format gzip --pad-to 0x4000
CIC = 6102
@@ -822,6 +819,9 @@ else
CIC = 6105
endif
$(ROM): $(ELF)
$(ELF2ROM) -cic $(CIC) $< $@
$(ROMC): $(ROM) $(ELF) $(BUILD_DIR)/compress_ranges.txt
$(PYTHON) tools/compress.py --in $(ROM) --out $@ --dmadata-start `./tools/dmadata_start.sh $(NM) $(ELF)` --compress `cat $(BUILD_DIR)/compress_ranges.txt` --threads $(N_THREADS) $(COMPRESS_ARGS)
$(PYTHON) -m ipl3checksum sum --cic $(CIC) --update $@