diff options
| author | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-07-24 04:06:38 +0000 |
|---|---|---|
| committer | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-07-24 04:06:38 +0000 |
| commit | d67ecf5d837b1781fae2b315e78b74729242c8e2 (patch) | |
| tree | 62030a36cf57eb6c57fffbd091ef40ff864e50c0 /libpcsxcore/cdriso.c | |
| parent | 3caff69e7f8afee5ec926088b8ca29905f75571d (diff) | |
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
Diffstat (limited to 'libpcsxcore/cdriso.c')
| -rwxr-xr-x | libpcsxcore/cdriso.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
