summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-01-26 09:21:35 -0500
committer AJR <ajrhacker@users.noreply.github.com>2022-01-26 09:21:35 -0500
commitb1b400b51b99bd76dbd5a06a595af49620affce1 (patch)
tree43cb7218db046031c81a379c3eb2cc0dfad012e1
parent907e04e649c2c1c17a3d44ec776ec397c336c30a (diff)
diexec.cpp: Add file inadvertently omitted from ca79d71af4bca7c1b8acc1df9e5dbb5b987d1542
-rw-r--r--src/emu/diexec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/diexec.cpp b/src/emu/diexec.cpp
index 49dee5f650e..1ff53672470 100644
--- a/src/emu/diexec.cpp
+++ b/src/emu/diexec.cpp
@@ -164,7 +164,7 @@ void device_execute_interface::spin_until_time(const attotime &duration)
suspend_until_trigger(TRIGGER_SUSPENDTIME + timetrig, true);
// then set a timer for it
- m_scheduler->timer_set(duration, timer_expired_delegate(FUNC(device_execute_interface::timed_trigger_callback),this), TRIGGER_SUSPENDTIME + timetrig, this);
+ m_scheduler->timer_set(duration, timer_expired_delegate(FUNC(device_execute_interface::timed_trigger_callback),this), TRIGGER_SUSPENDTIME + timetrig);
timetrig = (timetrig + 1) % 256;
}
@@ -682,7 +682,7 @@ if (TEMPLOG) printf("setline(%s,%d,%d,%d)\n", m_execute->device().tag(), m_linen
if (event_index >= std::size(m_queue))
{
m_qindex--;
- empty_event_queue(nullptr,0);
+ empty_event_queue(0);
event_index = m_qindex++;
m_execute->device().logerror("Exceeded pending input line event queue on device '%s'!\n", m_execute->device().tag());
}
@@ -696,7 +696,7 @@ if (TEMPLOG) printf("setline(%s,%d,%d,%d)\n", m_execute->device().tag(), m_linen
// if this is the first one, set the timer
if (event_index == 0)
- m_execute->scheduler().synchronize(timer_expired_delegate(FUNC(device_execute_interface::device_input::empty_event_queue),this), 0, this);
+ m_execute->scheduler().synchronize(timer_expired_delegate(FUNC(device_execute_interface::device_input::empty_event_queue),this));
}
}