summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-26 11:50:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-26 11:50:33 -0400
commit524099ea9f005bef89683eb82d1f00235534ddbe (patch)
treee57e95e2f06e837bdaf6a502053fa1e0b469fdc4 /src
parent3bf53341613c3f22d706b6abf10b832b4a21ccaa (diff)
dectalk.cpp: Eliminate machine().device (nw)
pc9801_26: Fix clang build (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/cbus/pc9801_26.h2
-rw-r--r--src/mame/drivers/dectalk.cpp6
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<pc9801_slot_device> m_bus;
required_device<ym2203_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_device>("x2212")->recall(0);
- machine().device<x2212_device>("x2212")->recall(1);
- machine().device<x2212_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