summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdriso.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c
index 7d61af6f..891af0f2 100644
--- a/libpcsxcore/cdriso.c
+++ b/libpcsxcore/cdriso.c
@@ -449,12 +449,7 @@ static int parseccd(const char *isofile) {
}
else if (!strncmp(linebuf, "INDEX 1=", 8)) {
sscanf(linebuf, "INDEX 1=%d", &t);
-
- if (numtracks <= 1) {
- t += 2 * 75;
- }
-
- sec2msf(t, ti[numtracks].start);
+ sec2msf(t + 2 * 75, ti[numtracks].start);
// If we've already seen another track, this is its end
if (numtracks > 1) {