summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/lpci/vt82c505.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/lpci/vt82c505.cpp')
-rw-r--r--src/devices/bus/lpci/vt82c505.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/lpci/vt82c505.cpp b/src/devices/bus/lpci/vt82c505.cpp
index 15ba12b403b..3d805116218 100644
--- a/src/devices/bus/lpci/vt82c505.cpp
+++ b/src/devices/bus/lpci/vt82c505.cpp
@@ -17,7 +17,7 @@
const device_type VT82C505 = &device_creator<vt82c505_device>;
-vt82c505_device::vt82c505_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vt82c505_device::vt82c505_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VT82C505, "VIA VT82C505 PCI bridge", tag, owner, clock, "vt82c505", __FILE__),
pci_device_interface( mconfig, *this )
{
@@ -43,7 +43,7 @@ UINT32 vt82c505_device::pci_read(pci_bus_device *pcibus, int function, int offse
result = 0x00000100;
break;
}
- logerror("%s: PCI read func %i, offset %02x, result %08x\n",tag(),function,offset,result);
+ logerror("%s: PCI read func %i, offset %02x, result %08x\n", tag().c_str(),function,offset,result);
return result;
}
@@ -59,23 +59,23 @@ void vt82c505_device::pci_write(pci_bus_device *pcibus, int function, int offset
if(ACCESSING_BITS_0_7) // RX87: memory window 1 A31:24
{
m_window_addr[0] = (m_window_addr[0] & 0xff00) | (data & 0x000000ff);
- logerror("%s: memory window #1 A31:24 set: %04x\n",tag(),m_window_addr[0]);
+ logerror("%s: memory window #1 A31:24 set: %04x\n", tag().c_str(),m_window_addr[0]);
}
break;
case 0x88:
if(ACCESSING_BITS_24_31) // RX88: memory window 1 A23:16
{
m_window_addr[0] = (m_window_addr[0] & 0x00ff) | ((data & 0xff000000) >> 24);
- logerror("%s: memory window #1 A23:16 set: %04x\n",tag(),m_window_addr[0]);
+ logerror("%s: memory window #1 A23:16 set: %04x\n", tag().c_str(),m_window_addr[0]);
}
if(ACCESSING_BITS_16_23) // RX89: memory window 1 attributes
{
m_window_attr[0] = ((data & 0x00ff0000) >> 16);
- logerror("%s: memory window #1 attributes set: %02x\n",tag(),m_window_attr[0]);
+ logerror("%s: memory window #1 attributes set: %02x\n", tag().c_str(),m_window_attr[0]);
}
break;
}
- logerror("%s: PCI write func %i, offset %02x, data %08x\n",tag(),function,offset,data);
+ logerror("%s: PCI write func %i, offset %02x, data %08x\n", tag().c_str(),function,offset,data);
}
//-------------------------------------------------