mirror of
https://github.com/Team-Neptune/CommonProblemResolver.git
synced 2024-11-27 14:30:39 +00:00
add fuse info to view dumped keys
This commit is contained in:
parent
b818b577e9
commit
3d4182ec57
@ -14,6 +14,7 @@
|
||||
#include "../storage/emummc.h"
|
||||
#include <utils/util.h>
|
||||
#include "../fs/fsutils.h"
|
||||
#include <soc/fuse.h>
|
||||
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user