From d67ecf5d837b1781fae2b315e78b74729242c8e2 Mon Sep 17 00:00:00 2001 From: "SND\\ckain_cp" Date: Thu, 24 Jul 2014 04:06:38 +0000 Subject: Loose 2352 value replaced with constant CD_FRAMESIZE_RAW git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91051 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdriso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 815bc82e..04a8c1b8 100755 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -715,7 +715,7 @@ static int parseccd(const char *isofile) { // Fill out the last track's end based on size if (numtracks >= 1) { fseek(cdHandle, 0, SEEK_END); - t = ftell(cdHandle) / 2352 - msf2sec(ti[numtracks].start) + 2 * 75; + t = ftell(cdHandle) / CD_FRAMESIZE_RAW - msf2sec(ti[numtracks].start) + 2 * 75; sec2msf(t, ti[numtracks].length); } -- cgit v1.2.3