From: Toni Wilen Date: Sun, 11 Sep 2016 15:41:05 +0000 (+0300) Subject: Workaround for possible NCR emulation bug. X-Git-Tag: 3400~99 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=e5d51737539eb1fc638500a53abe65000662bc56;p=francis%2Fwinuae.git Workaround for possible NCR emulation bug. --- diff --git a/qemuvga/lsi53c895a.cpp b/qemuvga/lsi53c895a.cpp index 4b575f90..6fae0f3e 100644 --- a/qemuvga/lsi53c895a.cpp +++ b/qemuvga/lsi53c895a.cpp @@ -723,7 +723,8 @@ void lsi_command_complete(SCSIRequest *req, uint32_t status, size_t resid) DPRINTF("Command complete status=%d\n", (int)status); s->status = status; s->command_complete = 2; - if (s->waiting && s->dbc != 0) { + // this does not seem to be correct (breaks CSPPC SCSI) + if (0 && s->waiting && s->dbc != 0) { /* Raise phase mismatch for short transfers. */ lsi_bad_phase(s, out, PHASE_ST); } else {