From f925b9c8e11d82f866e871105840bd2c465ee23d Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Tue, 21 May 2019 03:40:36 +0300 Subject: [PATCH] Refactoring Fixing CTR IV calc logic --- src/main/java/konogonka/Tools/NCA/NCAContentPFS0.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/konogonka/Tools/NCA/NCAContentPFS0.java b/src/main/java/konogonka/Tools/NCA/NCAContentPFS0.java index ab14a92..a586e4b 100644 --- a/src/main/java/konogonka/Tools/NCA/NCAContentPFS0.java +++ b/src/main/java/konogonka/Tools/NCA/NCAContentPFS0.java @@ -85,7 +85,7 @@ public class NCAContentPFS0 { //-------------------------------------------------------------------------------------------------- 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"); raf.seek(offsetPosition + (mediaStartOffset * 0x200));