From: notaz Date: Tue, 13 Nov 2012 00:04:52 +0000 (+0200) Subject: cdrom: only need to read for cdda X-Git-Tag: r17~22 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=7851087ded290440ef7490f7725a7b78602bd736;hp=96bef96ff61e7dae69cc793c310fcbf2698a38db cdrom: only need to read for cdda otherwise it's already there? --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 1aa958b0..ce0d66b8 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -962,8 +962,9 @@ void cdrInterrupt() { subq = (struct SubQ *)CDR_getBufferSub(); if (subq != NULL) { - // update subq - ReadTrack( cdr.SetSectorPlay ); + if( cdr.Play && (cdr.Mode & MODE_CDDA) && !(cdr.Mode & (MODE_AUTOPAUSE|MODE_REPORT)) ) + // update subq + ReadTrack( cdr.SetSectorPlay ); cdr.Result[0] = subq->TrackNumber; cdr.Result[1] = subq->IndexNumber;