diff options
author | Ryan Holtz <therealmogminer@gmail.com> | 2018-05-23 21:00:24 +0200 |
---|---|---|
committer | Ryan Holtz <therealmogminer@gmail.com> | 2018-05-23 21:00:42 +0200 |
commit | 06adb49cf1196b3daa8d61d999be39c2654c1714 (patch) | |
tree | a941837379e625576b630af8b50c2eab79731b87 | |
parent | bdfc347128fccd39da680e5cd134d1487bb4303b (diff) |
Fix cdi regression, nw
-rw-r--r-- | src/mame/machine/cdi070.cpp | 2 | ||||
-rw-r--r-- | src/mame/machine/cdi070.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/machine/cdi070.cpp b/src/mame/machine/cdi070.cpp index 472075dd3c9..c889da5c9e2 100644 --- a/src/mame/machine/cdi070.cpp +++ b/src/mame/machine/cdi070.cpp @@ -856,7 +856,6 @@ READ16_MEMBER( cdi68070_device::periphs_r ) WRITE16_MEMBER( cdi68070_device::periphs_w ) { - /* switch(offset) { // Interrupts: 80001001 @@ -1162,7 +1161,6 @@ WRITE16_MEMBER( cdi68070_device::periphs_w ) verboselog(*this, 0, "cdi68070_periphs_w: Unknown address: %04x = %04x & %04x\n", offset * 2, data, mem_mask); break; } - */ } #if ENABLE_UART_PRINTING diff --git a/src/mame/machine/cdi070.h b/src/mame/machine/cdi070.h index 74c962ba4aa..eb47209ccb7 100644 --- a/src/mame/machine/cdi070.h +++ b/src/mame/machine/cdi070.h @@ -146,7 +146,7 @@ public: // construction/destruction cdi68070_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - void set_cpu_tag(const char *tag) { m_maincpu.set_tag(tag); } + template <typename T> void set_cpu_tag(T &&tag) { m_maincpu.set_tag(std::forward<T>(tag)); } // external callbacks void uart_rx(uint8_t data); |