[Scummvm-git-logs] scummvm master -> 442365ec848c09f88149ac093f9008e47fd3cc31

sev- noreply at scummvm.org
Sun Feb 5 22:03:25 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
442365ec84 3DS: Specify version in .cia metadata


Commit: 442365ec848c09f88149ac093f9008e47fd3cc31
    https://github.com/scummvm/scummvm/commit/442365ec848c09f88149ac093f9008e47fd3cc31
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-02-05T23:03:21+01:00

Commit Message:
3DS: Specify version in .cia metadata

.cia supports version only in form X.Y.Z so just put there MAJOR.MINOR.PATCH

Changed paths:
    backends/platform/3ds/3ds.mk


diff --git a/backends/platform/3ds/3ds.mk b/backends/platform/3ds/3ds.mk
index f4d4293bf2c..e68b78011c4 100644
--- a/backends/platform/3ds/3ds.mk
+++ b/backends/platform/3ds/3ds.mk
@@ -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)




More information about the Scummvm-git-logs mailing list