Refactoring
Fixing CTR IV calc logic
This commit is contained in:
parent
842be7048d
commit
f925b9c8e1
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ public class NCAContentPFS0 {
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
if (decryptedKey == null)
|
if (decryptedKey == null)
|
||||||
throw new Exception("CryptoSection03: unable to proceed. No Key Area Encryption Keys provided.");
|
throw new Exception("CryptoSection03: unable to proceed. No decrypted key provided.");
|
||||||
|
|
||||||
RandomAccessFile raf = new RandomAccessFile(file, "r");
|
RandomAccessFile raf = new RandomAccessFile(file, "r");
|
||||||
raf.seek(offsetPosition + (mediaStartOffset * 0x200));
|
raf.seek(offsetPosition + (mediaStartOffset * 0x200));
|
||||||
|
|
Loading…
Reference in a new issue