From 20b807f0450f8dbd02e1c78043b64113dae0cb73 Mon Sep 17 00:00:00 2001 From: "SND\\edgbla_cp" Date: Fri, 22 Aug 2014 17:49:03 +0000 Subject: Small fixes. 11836 (Lioncash); git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91276 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdriso.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 04a8c1b8..b7eedea2 100755 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -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"); -- cgit v1.2.3