diff options
author | 2016-01-20 21:42:13 +0100 | |
---|---|---|
committer | 2016-01-20 21:42:13 +0100 | |
commit | 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch) | |
tree | 25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/devices/bus/lpci/vt82c505.cpp | |
parent | 3a8ccb89b426509be06089a19c51ecf55567ed1b (diff) |
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa
* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/devices/bus/lpci/vt82c505.cpp')
-rw-r--r-- | src/devices/bus/lpci/vt82c505.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/lpci/vt82c505.cpp b/src/devices/bus/lpci/vt82c505.cpp index 3d805116218..15ba12b403b 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, std::string tag, device_t *owner, UINT32 clock) +vt82c505_device::vt82c505_device(const machine_config &mconfig, const char *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().c_str(),function,offset,result); + logerror("%s: PCI read func %i, offset %02x, result %08x\n",tag(),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().c_str(),m_window_addr[0]); + logerror("%s: memory window #1 A31:24 set: %04x\n",tag(),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().c_str(),m_window_addr[0]); + logerror("%s: memory window #1 A23:16 set: %04x\n",tag(),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().c_str(),m_window_attr[0]); + logerror("%s: memory window #1 attributes set: %02x\n",tag(),m_window_attr[0]); } break; } - logerror("%s: PCI write func %i, offset %02x, data %08x\n", tag().c_str(),function,offset,data); + logerror("%s: PCI write func %i, offset %02x, data %08x\n",tag(),function,offset,data); } //------------------------------------------------- |