mirror of
https://github.com/d0k3/SafeB9SInstaller.git
synced 2025-06-25 21:22:45 +00:00
Fix secret sector restore
This commit is contained in:
parent
35ecd11bb8
commit
e197604d19
@ -38,7 +38,7 @@
|
||||
(((v) % (a)) ? ((v) + (a) - ((v) % (a))) : (v))
|
||||
|
||||
// SafeSigHaxInstaller version
|
||||
#define VERSION "0.0.1"
|
||||
#define VERSION "0.0.2"
|
||||
|
||||
// input / output paths
|
||||
#define INPUT_PATH "0:/sighax"
|
||||
|
@ -256,7 +256,7 @@ u32 SafeSigHaxInstaller(void) {
|
||||
if (CheckA9lh()) {
|
||||
snprintf(msgInstall, 64, "0x96 revert...");
|
||||
ShowInstallerStatus();
|
||||
ret = SafeWriteNand(secret_sector, 0x96, 0x200, 0x06);
|
||||
ret = SafeWriteNand(secret_sector, 0x96 * 0x200, 0x200, 0x11);
|
||||
if (ret == 0) snprintf(msgA9lh, 64, "uninstalled");
|
||||
}
|
||||
} while (false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user