summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/hp9825_tape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/hp9825_tape.cpp')
-rw-r--r--src/mame/machine/hp9825_tape.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/machine/hp9825_tape.cpp b/src/mame/machine/hp9825_tape.cpp
index f2f12135ef1..d53b75652c5 100644
--- a/src/mame/machine/hp9825_tape.cpp
+++ b/src/mame/machine/hp9825_tape.cpp
@@ -99,8 +99,7 @@ hp9825_tape_device::hp9825_tape_device(const machine_config &mconfig, const char
{
}
-void hp9825_tape_device::device_add_mconfig(machine_config &config)
-{
+MACHINE_CONFIG_START(hp9825_tape_device::device_add_mconfig)
TTL74123(config , m_short_gap_timer , 0);
m_short_gap_timer->set_connection_type(TTL74123_NOT_GROUNDED_NO_DIODE);
m_short_gap_timer->set_resistor_value(RES_K(37.9));
@@ -115,7 +114,7 @@ void hp9825_tape_device::device_add_mconfig(machine_config &config)
m_long_gap_timer->set_capacitor_value(CAP_U(0.22));
m_long_gap_timer->set_clear_pin_value(1);
m_long_gap_timer->out_cb().set(FUNC(hp9825_tape_device::long_gap_w));
-}
+MACHINE_CONFIG_END
void hp9825_tape_device::device_start()
{