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/epson_sio/pf10.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/epson_sio/pf10.cpp')
-rw-r--r-- | src/devices/bus/epson_sio/pf10.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/epson_sio/pf10.cpp b/src/devices/bus/epson_sio/pf10.cpp index 7f2799c7b0a..7096aee3fce 100644 --- a/src/devices/bus/epson_sio/pf10.cpp +++ b/src/devices/bus/epson_sio/pf10.cpp @@ -91,7 +91,7 @@ machine_config_constructor epson_pf10_device::device_mconfig_additions() const // epson_pf10_device - constructor //------------------------------------------------- -epson_pf10_device::epson_pf10_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +epson_pf10_device::epson_pf10_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EPSON_PF10, "EPSON PF-10 Portable Floppy Unit", tag, owner, clock, "epson_pf10", __FILE__), device_epson_sio_interface(mconfig, *this), m_cpu(*this, "maincpu"), @@ -145,41 +145,41 @@ void epson_pf10_device::device_timer(emu_timer &timer, device_timer_id id, int p READ8_MEMBER( epson_pf10_device::port1_r ) { - logerror("%s: port1_r(%02x)\n", tag().c_str(), m_port1); + logerror("%s: port1_r(%02x)\n", tag(), m_port1); return m_port1; } WRITE8_MEMBER( epson_pf10_device::port1_w ) { - logerror("%s: port1_w(%02x)\n", tag().c_str(), data); + logerror("%s: port1_w(%02x)\n", tag(), data); } READ8_MEMBER( epson_pf10_device::port2_r ) { - logerror("%s: port2_r(%02x)\n", tag().c_str(), m_port2); + logerror("%s: port2_r(%02x)\n", tag(), m_port2); return m_port2; } WRITE8_MEMBER( epson_pf10_device::port2_w ) { m_floppy->mon_w(data & PORT2_MON); - logerror("%s: port2_w(%02x)\n", tag().c_str(), data); + logerror("%s: port2_w(%02x)\n", tag(), data); } READ8_MEMBER( epson_pf10_device::fdc_r ) { - logerror("%s: fdc_r @ %04x\n", tag().c_str(), offset); + logerror("%s: fdc_r @ %04x\n", tag(), offset); return 0xff; } WRITE8_MEMBER( epson_pf10_device::fdc_w ) { - logerror("%s: fdc_w @ %04x (%02x)\n", tag().c_str(), offset, data); + logerror("%s: fdc_w @ %04x (%02x)\n", tag(), offset, data); } WRITE8_MEMBER( epson_pf10_device::fdc_tc_w ) { - logerror("%s: fdc_tc_w(%02x)\n", tag().c_str(), data); + logerror("%s: fdc_tc_w(%02x)\n", tag(), data); } |