From 524099ea9f005bef89683eb82d1f00235534ddbe Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 26 May 2018 11:50:33 -0400 Subject: dectalk.cpp: Eliminate machine().device (nw) pc9801_26: Fix clang build (nw) --- src/devices/bus/cbus/pc9801_26.h | 2 -- src/mame/drivers/dectalk.cpp | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/devices/bus/cbus/pc9801_26.h b/src/devices/bus/cbus/pc9801_26.h index 9ad86b8b067..abda3181512 100644 --- a/src/devices/bus/cbus/pc9801_26.h +++ b/src/devices/bus/cbus/pc9801_26.h @@ -44,8 +44,6 @@ private: required_device m_bus; required_device m_opn; - uint8_t m_joy_sel; - DECLARE_WRITE_LINE_MEMBER(sound_irq); }; diff --git a/src/mame/drivers/dectalk.cpp b/src/mame/drivers/dectalk.cpp index 3c313ac6f30..a1c73d10372 100644 --- a/src/mame/drivers/dectalk.cpp +++ b/src/mame/drivers/dectalk.cpp @@ -436,9 +436,9 @@ WRITE_LINE_MEMBER(dectalk_state::dectalk_reset) { m_hack_self_test_is_second_read = false; // hack // stuff that is DIRECTLY affected by the RESET line - machine().device("x2212")->recall(0); - machine().device("x2212")->recall(1); - machine().device("x2212")->recall(0); // nvram recall + m_nvram->recall(0); + m_nvram->recall(1); + m_nvram->recall(0); // nvram recall m_m68k_spcflags_latch = 1; // initial status is speech reset(d0) active and spc int(d6) disabled m_m68k_tlcflags_latch = 0; // initial status is tone detect int(d6) off, answer phone(d8) off, ring detect int(d14) off m_duart->reset(); // reset the DUART -- cgit v1.2.3