cue-fix error in parsing empty lines

This commit is contained in:
zeromus 2013-08-23 18:26:28 +00:00
parent 97e3ac9e1b
commit 1de6eb30a3
1 changed files with 2 additions and 1 deletions
BizHawk.Emulation/DiscSystem

View File

@ -500,8 +500,8 @@ namespace BizHawk.DiscSystem
{
string line = tr.ReadLine();
if (line == null) break;
if (line == "") continue;
line = line.Trim();
if (line == "") continue;
var clp = new CueLineParser(line);
string key = clp.ReadToken().ToUpper();
@ -622,6 +622,7 @@ namespace BizHawk.DiscSystem
public string ReadToken(bool isPath)
{
if (EOF) return null;
int startIndex = index;
bool inToken = false;
bool inQuote = false;