From 379da26a4ecc144c03cf6c626651ca194c3b9109 Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Sun, 19 Jul 2020 19:38:27 -0700 Subject: [PATCH] custominstall: fix loading seed (close #25) --- custominstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custominstall.py b/custominstall.py index 04ca24d..2b26900 100644 --- a/custominstall.py +++ b/custominstall.py @@ -375,7 +375,7 @@ class CustomInstall: title_info_entries[cia.tmd.title_id] = b''.join(title_info_entry_data) - cifinish_data[int(cia.tmd.title_id, 16)] = {'seed': (cia.contents[0].seed if cia.contents[0].flags.uses_seed else None)} + cifinish_data[int(cia.tmd.title_id, 16)] = {'seed': (get_seed(cia.contents[0].program_id) if cia.contents[0].flags.uses_seed else None)} # This is saved regardless if any titles were installed, so the file can be upgraded just in case. save_cifinish(cifinish_path, cifinish_data)