notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96bef96
)
cdrom: only need to read for cdda
author
notaz
<notasas@gmail.com>
Tue, 13 Nov 2012 00:04:52 +0000
(
02:04
+0200)
committer
notaz
<notasas@gmail.com>
Tue, 13 Nov 2012 00:04:56 +0000
(
02:04
+0200)
otherwise it's already there?
libpcsxcore/cdrom.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdrom.c
b/libpcsxcore/cdrom.c
index
1aa958b
..
ce0d66b
100644
(file)
--- 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;