summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/poly88.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-13 11:15:32 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-13 11:15:32 +0000
commit219e664785890f52079bae7e74543920d638796a (patch)
tree774d1ab1e7d87ae4d2c1ef335dcef24a28a7d7e8 /src/mess/machine/poly88.c
parentaf9a5e817d3eefdda79e801056b29167ecbcdef9 (diff)
Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT changed to be members of state classes (no whatsnew)
Diffstat (limited to 'src/mess/machine/poly88.c')
-rw-r--r--src/mess/machine/poly88.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mess/machine/poly88.c b/src/mess/machine/poly88.c
index 2ef0507fe88..2174bb7ee31 100644
--- a/src/mess/machine/poly88.c
+++ b/src/mess/machine/poly88.c
@@ -207,14 +207,13 @@ DRIVER_INIT_MEMBER(poly88_state,poly88)
machine().scheduler().timer_pulse(attotime::from_hz(24000), FUNC(keyboard_callback));
}
-MACHINE_RESET(poly88)
+void poly88_state::machine_reset()
{
- poly88_state *state = machine.driver_data<poly88_state>();
- machine.device("maincpu")->execute().set_irq_acknowledge_callback(poly88_irq_callback);
- state->m_intr = 0;
- state->m_last_code = 0;
+ machine().device("maincpu")->execute().set_irq_acknowledge_callback(poly88_irq_callback);
+ m_intr = 0;
+ m_last_code = 0;
- machine.scheduler().timer_set(attotime::zero, FUNC(setup_machine_state));
+ machine().scheduler().timer_set(attotime::zero, FUNC(setup_machine_state));
}
INTERRUPT_GEN( poly88_interrupt )