]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Workaround for possible NCR emulation bug.
authorToni Wilen <twilen@winuae.net>
Sun, 11 Sep 2016 15:41:05 +0000 (18:41 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 11 Sep 2016 15:41:05 +0000 (18:41 +0300)
qemuvga/lsi53c895a.cpp

index 4b575f9088326f87811aba6e05b7e6c8365d6f61..6fae0f3e01a7f26cfe3268c3c3cd177b8b55e958 100644 (file)
@@ -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 {