From 957cfaa53d8c44904b62372ed120ccb684afd08c Mon Sep 17 00:00:00 2001 From: hap Date: Tue, 25 Oct 2022 17:44:39 +0200 Subject: emu_timer: undo prev commit, add running() getter and change some enabled() calls to that --- src/emu/schedule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/schedule.cpp') diff --git a/src/emu/schedule.cpp b/src/emu/schedule.cpp index bdba5a71d3d..fac8b80ae90 100644 --- a/src/emu/schedule.cpp +++ b/src/emu/schedule.cpp @@ -152,7 +152,7 @@ void emu_timer::adjust(attotime start_delay, s32 param, const attotime &period) // set the start and expire times m_start = m_scheduler->time(); m_expire = m_start + start_delay; - m_enabled = !m_expire.is_never(); + m_enabled = true; m_period = period; // remove and re-insert the timer in its new order -- cgit v1.2.3