From 4941cf8b94dba298594a93aebc68bd62f2e2f02e Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:04:04 -0400 Subject: [PATCH] Fix tiny bug in how CIDs were parsed in cIOS builder --- modules/title/ciosbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/title/ciosbuild.py b/modules/title/ciosbuild.py index cb920ad..db5d671 100644 --- a/modules/title/ciosbuild.py +++ b/modules/title/ciosbuild.py @@ -98,7 +98,7 @@ def build_cios(args): if target_module is not None: target_index = int(content.get("tmdmoduleid"), 16) # The cIOS map supplies a Content ID to use for each additional module. - cid = int(content.get("id")[-2:], 16) + cid = int(content.get("id"), 16) target_path = modules_path.joinpath(target_module + ".app") if not target_path.exists(): raise Exception(f"A required module \"{target_module}.app\" could not be found!")