summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/ccastles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ccastles.cpp')
-rw-r--r--src/mame/drivers/ccastles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ccastles.cpp b/src/mame/drivers/ccastles.cpp
index b6c2b02f545..e31d09f0047 100644
--- a/src/mame/drivers/ccastles.cpp
+++ b/src/mame/drivers/ccastles.cpp
@@ -215,7 +215,7 @@ void ccastles_state::machine_start()
membank("bank1")->configure_entries(0, 2, memregion("maincpu")->base() + 0xa000, 0x6000);
/* create a timer for IRQs and set up the first callback */
- m_irq_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(ccastles_state::clock_irq),this));
+ m_irq_timer = timer_alloc(FUNC(ccastles_state::clock_irq), this);
m_irq_state = 0;
schedule_next_irq(0);