aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2012-12-27 02:21:55 +0200
committernotaz2012-12-27 02:21:55 +0200
commitf9ccca15495c5d2ac9ca098ec171d76907a7bccc (patch)
treee0c801673b59762f5488109378eea43a5340bdde /libpcsxcore
parent0dc1b4a95dcf382f60b097c2b266ca6b7e676c00 (diff)
downloadpcsx_rearmed-f9ccca15495c5d2ac9ca098ec171d76907a7bccc.tar.gz
pcsx_rearmed-f9ccca15495c5d2ac9ca098ec171d76907a7bccc.tar.bz2
pcsx_rearmed-f9ccca15495c5d2ac9ca098ec171d76907a7bccc.zip
cdrom: fix irq check
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index 6b3285c..61e1e7a 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -656,7 +656,7 @@ void cdrPlayInterrupt()
cdr.Result[0] = cdr.StatP;
if (cdr.Irq == 0 || cdr.Irq == 0xff) {
cdr.Stat = Complete;
- if (cdr.Stat != NoIntr)
+ if (cdr.Reg2 != 0x18)
psxHu32ref(0x1070) |= SWAP32(0x4);
}