Fix secret sector restore

This commit is contained in:
d0k3 2017-02-02 18:55:33 +01:00
parent 35ecd11bb8
commit e197604d19
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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);