diff options
| author | 2016-01-16 12:24:11 +0100 | |
|---|---|---|
| committer | 2016-01-16 14:54:42 +0100 | |
| commit | 1f90ceab075c4869298e963bf0a14a0aac2f1caa (patch) | |
| tree | 49984b30e3c6da6a0be068dbfcd02882bdafdc08 /src/devices/machine/mm74c922.cpp | |
| parent | 34161178c431b018cba0d0286951c69aee80e968 (diff) | |
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/devices/machine/mm74c922.cpp')
| -rw-r--r-- | src/devices/machine/mm74c922.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/mm74c922.cpp b/src/devices/machine/mm74c922.cpp index c822c783b33..670cebd364e 100644 --- a/src/devices/machine/mm74c922.cpp +++ b/src/devices/machine/mm74c922.cpp @@ -36,7 +36,7 @@ const device_type MM74C923 = &device_creator<mm74c922_device>; // mm74c922_device - constructor //------------------------------------------------- -mm74c922_device::mm74c922_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +mm74c922_device::mm74c922_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : device_t(mconfig, MM74C922, "MM74C922", tag, owner, clock, "mm74c922", __FILE__), m_write_da(*this), m_read_x1(*this), @@ -103,7 +103,7 @@ void mm74c922_device::device_timer(emu_timer &timer, device_timer_id id, int par UINT8 mm74c922_device::read() { - if (LOG) logerror("MM74C922 '%s' Data Read: %02x\n", tag(), m_data); + if (LOG) logerror("MM74C922 '%s' Data Read: %02x\n", tag().c_str(), m_data); return m_data; } @@ -119,7 +119,7 @@ void mm74c922_device::change_output_lines() { m_da = m_next_da; - if (LOG) logerror("MM74C922 '%s' Data Available: %u\n", tag(), m_da); + if (LOG) logerror("MM74C922 '%s' Data Available: %u\n", tag().c_str(), m_da); m_write_da(m_da); } @@ -166,7 +166,7 @@ void mm74c922_device::detect_keypress() m_next_da = 0; m_data = 0xff; // high-Z - if (LOG) logerror("MM74C922 '%s' Key Released\n", tag()); + if (LOG) logerror("MM74C922 '%s' Key Released\n", tag().c_str()); } } else @@ -182,7 +182,7 @@ void mm74c922_device::detect_keypress() m_data = (y << 2) | m_x; - if (LOG) logerror("MM74C922 '%s' Key Depressed: X %u Y %u = %02x\n", tag(), m_x, y, m_data); + if (LOG) logerror("MM74C922 '%s' Key Depressed: X %u Y %u = %02x\n", tag().c_str(), m_x, y, m_data); return; } } |
