From 57383b5a2a1e01b3ab5a3dbc4be679758350334b Mon Sep 17 00:00:00 2001 From: NintenHero <37460517+MichaelHinrichs@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:57:55 -0500 Subject: [PATCH] Fix syntax error --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();