cue-fix error in parsing empty lines
This commit is contained in:
parent
97e3ac9e1b
commit
1de6eb30a3
BizHawk.Emulation/DiscSystem
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue