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;