Mercurial > repos > blastem
changeset 2153:8a30e44e8223
Minor CDC fix
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 06 Apr 2022 22:46:20 -0700 |
parents | c3ee42c89b27 |
children | 2b7847bed4bb |
files | lc8951.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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;