]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
ncr9x_scsi.cpp: added a missing format specifier, made a function static
authorFrode Solheim <frode@fs-uae.net>
Sat, 5 Sep 2015 08:28:38 +0000 (10:28 +0200)
committerFrode Solheim <frode@fs-uae.net>
Sat, 5 Sep 2015 08:28:38 +0000 (10:28 +0200)
ncr9x_scsi.cpp

index baaa8b57cdf14fcd724e37f10af40537ad35e577..cfbf63e79362e483de8708a3c9aeb3a7e79f403b 100644 (file)
@@ -890,7 +890,7 @@ static void ncr9x_io_bput(struct ncr9x_state *ncr, uaecptr addr, uae_u32 val)
        esp_reg_write(ncr->devobject.lsistate, (addr), val);
 }
 
-uae_u32 ncr9x_io_bget(struct ncr9x_state *ncr, uaecptr addr)
+static uae_u32 ncr9x_io_bget(struct ncr9x_state *ncr, uaecptr addr)
 {
        uae_u8 v = 0xff;
        int reg_shift = 2;
@@ -923,7 +923,7 @@ uae_u32 ncr9x_io_bget(struct ncr9x_state *ncr, uaecptr addr)
                        int shift = (addr - 0xf04c) * 8;
                        uae_u32 mask = 0xff << shift;
                        if (addr == 0xf04f)
-                               write_log(_T("MASOBOSHI DMA PTR READ = %08x\n"), ncr->dma_ptr, M68K_GETPC);
+                               write_log(_T("MASOBOSHI DMA PTR READ = %08x %08x\n"), ncr->dma_ptr, M68K_GETPC);
                        return ncr->dma_ptr >> shift;
                }
                if (addr >= 0xf048 && addr < 0xf04c) {