summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/taito_l.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-31 13:58:02 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-31 13:58:02 +0000
commitad69d72a53e16ce23e6bee8f020ca2186ef1c84a (patch)
treeb71013998044c51d7881f28c3294bf28e340aa9a /src/mame/drivers/taito_l.c
parent34bf46e8290d3ed2c13e598527b54d2290ff11b5 (diff)
IRQ_CALLBACK modernization part 3 (no whatsnew)
Diffstat (limited to 'src/mame/drivers/taito_l.c')
-rw-r--r--src/mame/drivers/taito_l.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/taito_l.c b/src/mame/drivers/taito_l.c
index a1923ca2b6d..0155962145f 100644
--- a/src/mame/drivers/taito_l.c
+++ b/src/mame/drivers/taito_l.c
@@ -290,16 +290,15 @@ MACHINE_RESET_MEMBER(taitol_state,horshoes)
}
-static IRQ_CALLBACK( irq_callback )
+IRQ_CALLBACK_MEMBER(taitol_state::irq_callback)
{
- taitol_state *state = device->machine().driver_data<taitol_state>();
- return state->m_irq_adr_table[state->m_last_irq_level];
+ return m_irq_adr_table[m_last_irq_level];
}
TIMER_DEVICE_CALLBACK_MEMBER(taitol_state::vbl_interrupt)
{
int scanline = param;
- m_maincpu->set_irq_acknowledge_callback(irq_callback);
+ m_maincpu->set_irq_acknowledge_callback(device_irq_acknowledge_delegate(FUNC(taitol_state::irq_callback),this));
/* kludge to make plgirls boot */
if (m_maincpu->state_int(Z80_IM) != 2)
09-13 10:00:54 -0500'>2020-09-131-3/+3 * plugins/cheatfind: permit entry of cheat names cracyc2019-11-271-7/+30 * plugins/cheatfind: pull https://github.com/mamedev/mame/pull/4618 with some s... cracyc2019-11-171-121/+65 * (nw) Clean up the mess on master Vas Crabb2019-03-261-50/+283 * Revert "conflict resolution (nw)" andreasnaive2019-03-251-283/+50 * srcclean (nw) Vas Crabb2019-02-241-72/+72 * Cheat Finder Usability Improvements PugsyMAME2019-02-041-52/+282 * plugins/cheatfind: fix address step when shift is negative (nw) cracyc2019-01-261-2/+5 * plugins/cheatfind: fix typo (nw) cracyc2018-12-221-1/+1 * plugins/cheatfind: oops (nw) cracyc2018-11-211-1/+1 * plugins/cheatfind: fix xml writer (nw) cracyc2018-11-081-1/+1 * srcclean (nw) Vas Crabb2018-09-231-1/+1 * plugins/cheatfind: aligned search option (nw) cracyc2018-08-291-17/+51 * plugins/cheat[find]: fix memshares (nw)