diff --git a/Program.cs b/Program.cs index 790f10b..981aa7c 100644 --- a/Program.cs +++ b/Program.cs @@ -18,7 +18,7 @@ static void Main(string[] args) using FileStream input = File.OpenRead(args[0]); BinaryReader br = new(input); - if (new(br.ReadChars(4) != "DCPK") + if (new string(br.ReadChars(4)) != "DCPK") throw new System.Exception("Not a Minor Key Games CPK file."); int fileNum = br.ReadInt32();