summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/tx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/tx1.c')
-rw-r--r--src/mame/machine/tx1.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mame/machine/tx1.c b/src/mame/machine/tx1.c
index 6142cf5f69b..eb2ce99efb7 100644
--- a/src/mame/machine/tx1.c
+++ b/src/mame/machine/tx1.c
@@ -1402,14 +1402,12 @@ READ16_MEMBER(tx1_state::buggyboy_spcs_ram_r)
*
*************************************/
-MACHINE_RESET( buggyboy )
+MACHINE_RESET_MEMBER(tx1_state,buggyboy)
{
- tx1_state *state = machine.driver_data<tx1_state>();
- memset(&state->m_math, 0, sizeof(state->m_math));
+ memset(&m_math, 0, sizeof(m_math));
}
-MACHINE_RESET( tx1 )
+MACHINE_RESET_MEMBER(tx1_state,tx1)
{
- tx1_state *state = machine.driver_data<tx1_state>();
- memset(&state->m_math, 0, sizeof(state->m_math));
+ memset(&m_math, 0, sizeof(m_math));
}