From a6388834e06a4de3a4c3389fae293e65a1d33bf4 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:23:30 -0500 Subject: [PATCH] Fix EmuNAND install-missing getting duplicate IOSes and IOSes not needed --- commands/nand/emunand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/nand/emunand.py b/commands/nand/emunand.py index da406a4..5770f4b 100644 --- a/commands/nand/emunand.py +++ b/commands/nand/emunand.py @@ -118,7 +118,7 @@ def handle_emunand_info(args): print(f" {disc.upper()}") print("") if missing_ioses: - print(f"Some titles installed are missing their required IOS. These missing IOSes are marked with a * in the " + print(f"Some titles installed are missing their required IOS. These missing IOSes are marked with \"*\" in the " f"title list above. If these IOSes are not installed, the titles requiring them will not launch. The " f"IOSes required but not installed are:") for missing in missing_ioses: @@ -156,7 +156,7 @@ def handle_emunand_install_missing(args): for title in installed_titles: tmd = emunand.get_title_tmd(title) if tmd.ios_tid.upper() not in installed_ioses: - if tmd.ios_tid not in missing: + if int(tmd.ios_tid[8:], 16) not in missing: missing.append(int(tmd.ios_tid[8:], 16)) missing.sort() if is_vwii: