Fixes check for common key.

This commit is contained in:
gaymerdolphin 2020-12-08 19:08:12 +00:00
parent f88f9b8343
commit 1d5cdf8b1c

View File

@ -262,7 +262,7 @@ namespace nfs2iso2nfs
return null; return null;
} }
WII_COMMON_KEY = getKey(wiiKeyFile); 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..."); Console.WriteLine("ERROR: Wii common key file has wrong file size! Exiting...");
return null; return null;