From 7851087ded290440ef7490f7725a7b78602bd736 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 13 Nov 2012 02:04:52 +0200 Subject: cdrom: only need to read for cdda otherwise it's already there? --- libpcsxcore/cdrom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 1aa958b..ce0d66b 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; -- cgit v1.2.3