Skip to content

Commit

Permalink
Fix unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Jul 11, 2024
1 parent 17ee25b commit 5d97967
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,7 @@ int main()

drawLogo();

backupNVM();
checkUnsupportedVersion();
checkFMCB();

Expand All @@ -1697,6 +1698,7 @@ int main()
if (!IsNVMUnlocked())
{
rerun = 1;
unlockNVM();
}
else
{
Expand Down Expand Up @@ -1728,11 +1730,6 @@ int main()
{
if (getMechaBuildDate(build_date) && IsKnownconsole)
{
if (!isPatchAlreadyInstalled())
{
if (backupNVM())
unlockNVM();
}
char isDex = 0;
setRegion(&isDex);
applyPatches(isDex);
Expand All @@ -1746,11 +1743,6 @@ int main()
}
else if (selected == 1)
{
if (!isPatchAlreadyInstalled())
{
if (backupNVM())
unlockNVM();
}
restoreBackup();
}
}
Expand Down

0 comments on commit 5d97967

Please sign in to comment.