diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/LibQuickNES.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/LibQuickNES.cs index 42af3c2f82..a805bfee98 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/LibQuickNES.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/LibQuickNES.cs @@ -249,7 +249,10 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES if (p == IntPtr.Zero) return; string s = Marshal.PtrToStringAnsi(p); - if (s == "Unsupported mapper" || s == "Not an iNES file") // Not worth making a new exception for the iNES error, they ultimately are the same problem + if (s == "Unsupported mapper" + || s == "Not an iNES file" // Not worth making a new exception for the iNES error, they ultimately are the same problem + || s == " truncated file" // This is a garbage rom not worth anyone's time but at least NesHawk handles these better, and these occur before the core has a chance to assess an unsupported mapper + ) { throw new Emulation.Common.UnsupportedGameException("Quicknes unsupported mapper"); }