From 52a928638b758f0d3dab306e6888e70c936c7828 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 11 Apr 2019 15:28:10 -0700 Subject: [PATCH] Add other known blank values --- NDecrypt/Headers/NDSHeader.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/NDecrypt/Headers/NDSHeader.cs b/NDecrypt/Headers/NDSHeader.cs index 594d706..8876cfa 100644 --- a/NDecrypt/Headers/NDSHeader.cs +++ b/NDecrypt/Headers/NDSHeader.cs @@ -630,11 +630,13 @@ namespace NDecrypt.Headers return null; // Improperly decrypted empty secure area (decrypt empty with woodsec) - else if (firstValue == 0xE386C397 && secondValue == 0x82775B7E) + else if ((firstValue == 0xE386C397 && secondValue == 0x82775B7E) + || (firstValue == 0xF98415B8 && secondValue == 0x698068FC)) return true; // Improperly encrypted empty secure area (encrypt empty with woodsec) - else if (firstValue == 0x4BCE88BE && secondValue == 0xD3662DD1) + else if ((firstValue == 0x4BCE88BE && secondValue == 0xD3662DD1) + || (firstValue == 0x2543C534 && secondValue == 0xCC4BE38E)) return false; // Properly decrypted nonstandard value (mastering issue)