mirror of
https://github.com/NinjaCheetah/WiiPy.git
synced 2025-04-26 13:21:01 -04:00
Fix tiny bug in how CIDs were parsed in cIOS builder
This commit is contained in:
parent
73a877090b
commit
4941cf8b94
@ -98,7 +98,7 @@ def build_cios(args):
|
|||||||
if target_module is not None:
|
if target_module is not None:
|
||||||
target_index = int(content.get("tmdmoduleid"), 16)
|
target_index = int(content.get("tmdmoduleid"), 16)
|
||||||
# The cIOS map supplies a Content ID to use for each additional module.
|
# 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")
|
target_path = modules_path.joinpath(target_module + ".app")
|
||||||
if not target_path.exists():
|
if not target_path.exists():
|
||||||
raise Exception(f"A required module \"{target_module}.app\" could not be found!")
|
raise Exception(f"A required module \"{target_module}.app\" could not be found!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user