Fix tiny bug in how CIDs were parsed in cIOS builder

This commit is contained in:
Campbell 2024-10-29 22:04:04 -04:00
parent 73a877090b
commit 4941cf8b94
Signed by: NinjaCheetah
GPG Key ID: B547958AF96ED344

View File

@ -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!")