From df4bcb0e330029b90ffbd4e963d99fc6bc142d0e Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 15 Apr 2024 01:52:31 +0300 Subject: [PATCH] cdrom: accept more channel bits Although it contradicts nocash docs, Spyro 2 (PAL) uses 0x21. Should only 0xff be rejected? --- libpcsxcore/cdrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 5da24c82..83a6de04 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1399,7 +1399,7 @@ static void cdrReadInterrupt(void) subhdr->file, subhdr->chan, cdr.CurFile, cdr.CurChannel, cdr.FilterFile, cdr.FilterChannel); if ((cdr.Mode & MODE_SF) && (subhdr->file != cdr.FilterFile || subhdr->chan != cdr.FilterChannel)) break; - if (subhdr->chan & 0xe0) { // ? + if (subhdr->chan & 0x80) { // ? if (subhdr->chan != 0xff) log_unhandled("adpcm %d:%d\n", subhdr->file, subhdr->chan); break; -- 2.39.5