Small fixes. 11836 (Lioncash);

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91276 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
SND\edgbla_cp 2014-08-22 17:49:03 +00:00
parent 7fa0b5b481
commit 20b807f045
1 changed files with 2 additions and 2 deletions

View File

@ -613,9 +613,9 @@ static int parsecue(const char *isofile) {
pregapOffset = -1; // mark to fill track start_offset
}
else if (!strcmp(token, "FILE")) {
t = sscanf(linebuf, " FILE \"%256[^\"]\"", tmpb);
t = sscanf(linebuf, " FILE \"%255[^\"]\"", tmpb);
if (t != 1)
sscanf(linebuf, " FILE %256s", tmpb);
sscanf(linebuf, " FILE %255s", tmpb);
// absolute path?
ti[numtracks + 1].handle = fopen(tmpb, "rb");