Fix cdi regression, nw

This commit is contained in:
Ryan Holtz 2018-05-23 21:00:24 +02:00
parent bdfc347128
commit 06adb49cf1
2 changed files with 1 additions and 3 deletions

View File

@ -856,7 +856,6 @@ READ16_MEMBER( cdi68070_device::periphs_r )
WRITE16_MEMBER( cdi68070_device::periphs_w ) WRITE16_MEMBER( cdi68070_device::periphs_w )
{ {
/*
switch(offset) switch(offset)
{ {
// Interrupts: 80001001 // 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); verboselog(*this, 0, "cdi68070_periphs_w: Unknown address: %04x = %04x & %04x\n", offset * 2, data, mem_mask);
break; break;
} }
*/
} }
#if ENABLE_UART_PRINTING #if ENABLE_UART_PRINTING

View File

@ -146,7 +146,7 @@ public:
// construction/destruction // construction/destruction
cdi68070_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); 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 // external callbacks
void uart_rx(uint8_t data); void uart_rx(uint8_t data);