Uninstall CFW: Use correct NATIVE_FIRM version (#1359)

This commit is contained in:
saibotu 2017-09-26 00:03:29 +02:00 committed by Plailect
parent 8262377b9d
commit 4e3910236d
No known key found for this signature in database
GPG Key ID: F8A415C5EA602A41
2 changed files with 4 additions and 4 deletions

View File

@ -12,11 +12,11 @@ sha S:/sector0x96.bin 82F2730D2C2DA3F30165F987FDCCAC5CBAB24B4E5F65C981CD7BE6F438
# grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a N3DS?"
find 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH
find -f 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp G:/exefs/.firm $[NATIVE_FIRM]
cp -w G:/exefs/.firm $[NATIVE_FIRM]
imgumount
# Write NATIVE_FIRM to the FIRM partitions

View File

@ -8,11 +8,11 @@ set SUCCESSMSG "CFW uninstalled successfully"
# grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a O3DS?"
find 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH
find -f 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp G:/exefs/.firm $[NATIVE_FIRM]
cp -w G:/exefs/.firm $[NATIVE_FIRM]
imgumount
# Write NATIVE_FIRM to the FIRM partitions