3DS: Specify version in .cia metadata

.cia supports version only in form X.Y.Z so just put there MAJOR.MINOR.PATCH
This commit is contained in:
Vladimir Serbinenko 2023-02-02 02:12:14 +01:00 committed by Eugene Sandulenko
parent 5d50286acf
commit e3c2580734
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -60,7 +60,7 @@ $(TARGET).bnr: $(APP_BANNER_IMAGE) $(APP_BANNER_AUDIO)
@echo built ... $(notdir $@)
$(TARGET).cia: $(EXECUTABLE) $(APP_RSF) $(TARGET).smdh $(TARGET).bnr romfs
@$(MAKEROM) -f cia -target t -exefslogo -o $@ -elf $(EXECUTABLE) -rsf $(APP_RSF) -banner $(TARGET).bnr -icon $(TARGET).smdh -DAPP_ROMFS=romfs/
@$(MAKEROM) -ver $(shell echo $$(($(VER_MAJOR)*1024+$(VER_MINOR)*16+$(VER_PATCH)))) -f cia -target t -exefslogo -o $@ -elf $(EXECUTABLE) -rsf $(APP_RSF) -banner $(TARGET).bnr -icon $(TARGET).smdh -DAPP_ROMFS=romfs/
@echo built ... $(notdir $@)
dist_3ds: $(TARGET).cia $(TARGET).3dsx $(DIST_FILES_DOCS)