From 3d4182ec57671cd4cc6a96dec0291eaefffe5694 Mon Sep 17 00:00:00 2001 From: suchmememanyskill Date: Fri, 1 Jan 2021 11:49:45 +0100 Subject: [PATCH] add fuse info to view dumped keys --- source/tegraexplorer/mainmenu.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/tegraexplorer/mainmenu.c b/source/tegraexplorer/mainmenu.c index 2250a61..7d74d8b 100644 --- a/source/tegraexplorer/mainmenu.c +++ b/source/tegraexplorer/mainmenu.c @@ -14,6 +14,7 @@ #include "../storage/emummc.h" #include #include "../fs/fsutils.h" +#include enum { MainExplore = 0, @@ -84,7 +85,13 @@ void ViewKeys(){ gfx_printf("\nSave mac key: "); PrintKey(dumpedKeys.save_mac_key, AES_128_KEY_SIZE); - gfx_printf("\n\nPkg1 ID: '%s', kb %d", TConf.pkg1ID, TConf.pkg1ver); + u8 fuseCount = 0; + for (u32 i = 0; i < 32; i++){ + if ((fuse_read_odm(7) >> i) & 1) + fuseCount++; + } + + gfx_printf("\n\nPkg1 ID: '%s' (kb %d)\nFuse count: %d", TConf.pkg1ID, TConf.pkg1ver, fuseCount); hidWait(); }