summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/schedule.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-10-25 17:44:39 +0200
committer hap <happppp@users.noreply.github.com>2022-10-25 17:44:53 +0200
commit957cfaa53d8c44904b62372ed120ccb684afd08c (patch)
treee21c56b3f74dc093eb75810e96b38cb0e226d40e /src/emu/schedule.cpp
parentf727c63b169e6c5d23154447150e5548dcb1516a (diff)
emu_timer: undo prev commit, add running() getter and change some enabled() calls to that
Diffstat (limited to 'src/emu/schedule.cpp')
-rw-r--r--src/emu/schedule.cpp2
1 files changed, 1 insertions, 1 deletions
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