diff --git a/hakchi_gui/Apps/SnesGame.cs b/hakchi_gui/Apps/SnesGame.cs index 4789d053..78778e0f 100644 --- a/hakchi_gui/Apps/SnesGame.cs +++ b/hakchi_gui/Apps/SnesGame.cs @@ -163,9 +163,9 @@ public static bool Patch(string inputFileName, ref byte[] rawRomData, ref char p } // header removal - if ((ext.ToLower() == ".smc") && ((rawRomData.Length % 1024) != 0)) + if ((rawRomData.Length % 1024) != 0) { - Trace.WriteLine("Removing SMC header"); + Trace.WriteLine("Removing header"); var stripped = new byte[rawRomData.Length - 512]; Array.Copy(rawRomData, 512, stripped, 0, stripped.Length); rawRomData = stripped;