diff options
Diffstat (limited to 'src/emu/drivers/testcpu.cpp')
-rw-r--r-- | src/emu/drivers/testcpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/drivers/testcpu.cpp b/src/emu/drivers/testcpu.cpp index 1cdb945db88..95e3d5a1ec2 100644 --- a/src/emu/drivers/testcpu.cpp +++ b/src/emu/drivers/testcpu.cpp @@ -38,7 +38,7 @@ public: } // timer callback; used to wrest control of the system - virtual void device_timer(emu_timer &timer, device_timer_id id, int param) override + TIMER_CALLBACK_MEMBER(timer_tick) { static const u32 sample_instructions[] = { @@ -101,7 +101,7 @@ public: m_cpu->ppcdrc_set_options(PPCDRC_COMPATIBLE_OPTIONS); // set a timer to go off right away - timer_set(attotime::zero); + timer_alloc(FUNC(timer_tick), this)->adjust(attotime::zero); } // dump the current CPU state |