From: Frode Solheim Date: Sat, 5 Sep 2015 08:28:38 +0000 (+0200) Subject: ncr9x_scsi.cpp: added a missing format specifier, made a function static X-Git-Tag: 3200~87^2~13 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=03db277a4b94bac6b865573b8d7189913dfca5b0;p=francis%2Fwinuae.git ncr9x_scsi.cpp: added a missing format specifier, made a function static --- diff --git a/ncr9x_scsi.cpp b/ncr9x_scsi.cpp index baaa8b57..cfbf63e7 100644 --- a/ncr9x_scsi.cpp +++ b/ncr9x_scsi.cpp @@ -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) {