Mercurial > repos > blastem
diff lc8951.c @ 2153:8a30e44e8223
Minor CDC fix
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 06 Apr 2022 22:46:20 -0700 |
parents | 4cd60eecb0b1 |
children | 8e6fb2c06024 |
line wrap: on
line diff
--- a/lc8951.c Wed Apr 06 21:44:46 2022 -0700 +++ b/lc8951.c Wed Apr 06 22:46:20 2022 -0700 @@ -249,13 +249,13 @@ && context->regs[HEAD3] < 3 && !(context->regs[STAT0] & (BIT_NOSYNC|BIT_ILSYNC)) ) { - if (context->ctrl0 & (BIT_ORQ|BIT_PRQ)) { + if (context->ctrl0 & (BIT_WRRQ|BIT_ORQ|BIT_PRQ)) { context->regs[STAT0] |= BIT_CRCOK; } context->regs[STAT1] = 0; - context->regs[STAT2] = 0x90; + context->regs[STAT2] = 0x10; } else { - if (context->ctrl0 & (BIT_ORQ|BIT_PRQ)) { + if (context->ctrl0 & (BIT_WRRQ|BIT_ORQ|BIT_PRQ)) { context->regs[STAT0] |= BIT_UCEBLK; } context->regs[STAT1] = 0xFF;