summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/micro3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/micro3d.c')
-rw-r--r--src/mame/machine/micro3d.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/machine/micro3d.c b/src/mame/machine/micro3d.c
index 530aec9fda9..ac47c55b72b 100644
--- a/src/mame/machine/micro3d.c
+++ b/src/mame/machine/micro3d.c
@@ -633,13 +633,12 @@ DRIVER_INIT_MEMBER(micro3d_state,botss)
DRIVER_INIT_CALL(micro3d);
}
-MACHINE_RESET( micro3d )
+void micro3d_state::machine_reset()
{
- micro3d_state *state = machine.driver_data<micro3d_state>();
- state->m_ti_uart[STATUS] = 1;
+ m_ti_uart[STATUS] = 1;
- machine.device("vgb")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
- machine.device("drmath")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
- machine.device("audiocpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
+ machine().device("vgb")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
+ machine().device("drmath")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
+ machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
}