From f9ccca15495c5d2ac9ca098ec171d76907a7bccc Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 27 Dec 2012 02:21:55 +0200 Subject: [PATCH] cdrom: fix irq check --- libpcsxcore/cdrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 6b3285c1..61e1e7ad 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); } -- 2.39.5