# HG changeset patch # User Michael Pavone # Date 1649310380 25200 # Node ID 8a30e44e82231b1fc39a88f777b4a6d55d7e8d01 # Parent c3ee42c89b2767cc3859d8d3ba4d8a82abe38422 Minor CDC fix diff -r c3ee42c89b27 -r 8a30e44e8223 lc8951.c --- 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;