[Scummvm-git-logs] scummvm master -> 947918a15bb3e6d1b77bf998dfd59b9a53cc2188

lephilousophe noreply at scummvm.org
Sun Jan 18 12:40:48 UTC 2026


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

Summary:
947918a15b 3DS: Fix versioning scheme


Commit: 947918a15bb3e6d1b77bf998dfd59b9a53cc2188
    https://github.com/scummvm/scummvm/commit/947918a15bb3e6d1b77bf998dfd59b9a53cc2188
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-01-18T13:40:44+01:00

Commit Message:
3DS: Fix versioning scheme

3DS version number must be less than 65536. Use a new scheme which makes
it work until year 2256 while still maintaining version greater than
what we produced before.

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


diff --git a/backends/platform/3ds/3ds.mk b/backends/platform/3ds/3ds.mk
index e68b78011c4..66fa5a411d5 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) -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/
+	@$(MAKEROM) -ver $(shell echo $$((($(VER_MAJOR)-2000)*256+$(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