summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-08-10 14:50:23 +0200
committer GitHub <noreply@github.com>2018-08-10 14:50:23 +0200
commite11ae7f5a368af2a853ee021b5c116f7c405af49 (patch)
tree256bac15e18cfe186f9f59975d53c59de9e377ec
parentad36be33db5a9bd8c12d6b6b2cee494f65896bdc (diff)
pes.cpp: use device_finder instead of tag lookup (nw)
-rw-r--r--src/mame/drivers/pes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pes.cpp b/src/mame/drivers/pes.cpp
index e8e2f87d666..fd120caa62b 100644
--- a/src/mame/drivers/pes.cpp
+++ b/src/mame/drivers/pes.cpp
@@ -208,7 +208,7 @@ void pes_state::machine_reset()
m_port3_state = 0; // reset the openbus state of port 3
//m_maincpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE); // this causes debugger to fail badly if included
- machine().device("tms5220")->reset(); // reset the 5220
+ m_speech->reset(); // reset the 5220
}
/******************************************************************************