diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2011-12-02 13:56:45 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2011-12-02 13:56:45 +0000 |
commit | 2b9d5eabc2521ca77306e5349fabeb415cc9516a (patch) | |
tree | 90035601796f4e572a431ebb886d63ca85806d63 | |
parent | 64c8ea4a997e15af5c309c4a60ebc757be5299c8 (diff) |
Fix compile
-rw-r--r-- | src/mame/drivers/chihiro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/chihiro.c b/src/mame/drivers/chihiro.c index 64f53a18353..97558acd231 100644 --- a/src/mame/drivers/chihiro.c +++ b/src/mame/drivers/chihiro.c @@ -685,7 +685,7 @@ static void geforce_pci_w(device_t *busdevice, device_t *device, int function, i * ohci usb controller placeholder */ -static char *usbregnames[]={ +static const char *const usbregnames[]={ "HcRevision", "HcControl", "HcCommandStatus", @@ -729,9 +729,9 @@ static WRITE32_HANDLER( usbctrl_w ) { #ifdef LOG_OHCI if (offset >= 0x54/4) - logerror("usb controller 0 register HcRhPortStatus[%d] write %08X\n",(offset-0x54/4)+1); + logerror("usb controller 0 register HcRhPortStatus[%d] write %08X\n",(offset-0x54/4)+1,data); else - logerror("usb controller 0 register %s write %08X\n",usbregnames[offset]); + logerror("usb controller 0 register %s write %08X\n",usbregnames[offset],data); #endif } |