diff --git a/BizHawk.Client.Common/movie/import/PjmImport.cs b/BizHawk.Client.Common/movie/import/PjmImport.cs index 784dd30c7e..5cd381dc2e 100644 --- a/BizHawk.Client.Common/movie/import/PjmImport.cs +++ b/BizHawk.Client.Common/movie/import/PjmImport.cs @@ -309,6 +309,12 @@ namespace BizHawk.Client.Common { var mnemonicStr = new string(br.ReadChars(strCount)); + // Junk whitespace at the end of a file + if (string.IsNullOrWhiteSpace(mnemonicStr)) + { + continue; + } + // Gross, if not CR LF, this will fail, but will the PSXjin? if (!mnemonicStr.EndsWith("|\r\n")) {