Only print warning for non-contiguous files

This commit is contained in:
Deterous
2024-02-11 12:39:13 +09:00
parent cf19596ea7
commit b862057123
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -785,7 +785,7 @@ namespace IRDKit
try
{
// Read key from .key file
byte[] discKey = File.ReadAllBytes(keyPath);
byte[] discKey = File.ReadAllBytes(keyfilePath);
if (discKey == null || discKey.Length != 16)
Console.Error.WriteLine($"{hexKey} is not a valid key, detecting key automatically...");
else