summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/schedule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/schedule.h')
-rw-r--r--src/emu/schedule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/schedule.h b/src/emu/schedule.h
index e13fc18d573..b8515c0a00d 100644
--- a/src/emu/schedule.h
+++ b/src/emu/schedule.h
@@ -85,6 +85,7 @@ private:
attotime m_period; // the repeat frequency of the timer
attotime m_start; // time when the timer was started
attotime m_expire; // time when the timer will expire
+ u32 m_index; // needed to restore timers scheduled at the same time in correct order
friend class device_scheduler;
friend class fixed_allocator<emu_timer>;
@@ -143,7 +144,7 @@ private:
void apply_suspend_changes();
// timer helpers
- emu_timer &timer_list_insert(emu_timer &timer);
+ template <bool CheckIndex = false> emu_timer &timer_list_insert(emu_timer &timer);
emu_timer &timer_list_remove(emu_timer &timer);
void execute_timers();