summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Mike <mike.harris@gmail.com>2020-04-04 12:54:01 -0700
committer GitHub <noreply@github.com>2020-04-04 21:54:01 +0200
commit7339d77c024e461518ecaa69440e347d3e74e739 (patch)
tree21bef700dd3c0b0e6dcdb0a5d220c511021dcc38
parente69984e175907af0b79a4caf28f074fbac05b07b (diff)
Don't clear the input queue on reset. (#6517)
This fixes problems where devices are input line changes are missed because a device was reset. One case is at startup, where one device's output is wire to another's input. During start the first device adds, eg, a RESET assertion to the second. When that device starts, it resets itself and clears the pending RESET assertion.
-rw-r--r--src/emu/diexec.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/emu/diexec.cpp b/src/emu/diexec.cpp
index da2758dc7d5..825a4457c12 100644
--- a/src/emu/diexec.cpp
+++ b/src/emu/diexec.cpp
@@ -662,7 +662,6 @@ void device_execute_interface::device_input::start(device_execute_interface &exe
void device_execute_interface::device_input::reset()
{
m_curvector = m_stored_vector = m_execute->default_irq_vector(m_linenum);
- m_qindex = 0;
}