From 1d5cdf8b1cb07e60830792232542240d6e648c2c Mon Sep 17 00:00:00 2001 From: gaymerdolphin Date: Tue, 8 Dec 2020 19:08:12 +0000 Subject: [PATCH] Fixes check for common key. --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 079e150..5ddefb3 100644 --- a/Program.cs +++ b/Program.cs @@ -262,7 +262,7 @@ namespace nfs2iso2nfs return null; } WII_COMMON_KEY = getKey(wiiKeyFile); - if (key == null) + if (WII_COMMON_KEY == null) { Console.WriteLine("ERROR: Wii common key file has wrong file size! Exiting..."); return null;