summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/schedule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/schedule.cpp')
-rw-r--r--src/emu/schedule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/schedule.cpp b/src/emu/schedule.cpp
index fbe9f667255..c35e41d0457 100644
--- a/src/emu/schedule.cpp
+++ b/src/emu/schedule.cpp
@@ -209,7 +209,7 @@ void emu_timer::adjust(attotime start_delay, s32 param, const attotime &period)
// timer was started
//-------------------------------------------------
-attotime emu_timer::elapsed() const
+attotime emu_timer::elapsed() const noexcept(MAME_NDEBUG)
{
return machine().time() - m_start;
}
@@ -220,7 +220,7 @@ attotime emu_timer::elapsed() const
// remaining until the timer expires
//-------------------------------------------------
-attotime emu_timer::remaining() const
+attotime emu_timer::remaining() const noexcept(MAME_NDEBUG)
{
attotime curtime = machine().time();
if (curtime >= m_expire)
@@ -356,7 +356,7 @@ device_scheduler::~device_scheduler()
// time - return the current time
//-------------------------------------------------
-attotime device_scheduler::time() const
+attotime device_scheduler::time() const noexcept(MAME_NDEBUG)
{
// if we're currently in a callback, use the timer's expiration time as a base
if (m_callback_timer != nullptr)