]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix QuikPak SCSI.
authorToni Wilen <twilen@winuae.net>
Sat, 30 Jun 2018 19:42:45 +0000 (22:42 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 30 Jun 2018 19:42:45 +0000 (22:42 +0300)
ncr_scsi.cpp

index 5457786cf15e372b0866f7efcc44c13a62f84cf7..37233003ae7f0eba9698f4ce717fc63897521461 100644 (file)
@@ -11,7 +11,7 @@
 
 #ifdef NCR
 
-#define NCR_DEBUG 10
+#define NCR_DEBUG 0
 
 #include "options.h"
 #include "uae.h"
@@ -528,7 +528,7 @@ uae_u32 cpuboard_ncr720_io_bget(uaecptr addr)
 {
        struct ncr_state *ncr = ncr_cpuboard;
        addr &= IO_MASK;
-       return lsi_mmio_read(ncr_cpuboard, beswap(addr), 1);
+       return lsi_mmio_read(ncr->devobject.lsistate, beswap(addr), 1);
 }
 
 static bool isncrboard(struct ncr_state *ncr, struct ncr_state **ncrb)