mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
eispc_kb.cpp: Avoid scheduler asserts
This commit is contained in:
parent
3ee6433af0
commit
651872a73c
@ -272,15 +272,15 @@ WRITE_LINE_MEMBER(eispc_keyboard_device::rst_line_w)
|
||||
{
|
||||
if (state == CLEAR_LINE)
|
||||
{
|
||||
m_mcu->resume(SUSPEND_REASON_RESET);
|
||||
//m_mcu->set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
|
||||
//m_mcu->resume(SUSPEND_REASON_RESET);
|
||||
m_mcu->set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
|
||||
LOGRST("KBD: Keyboard mcu reset line is cleared\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
// set_input_line suspends with a true argument which causes "Keyboard error"
|
||||
m_mcu->suspend(SUSPEND_REASON_RESET, false); // This causes an assert later when DEBUG==1
|
||||
//m_mcu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
|
||||
//m_mcu->suspend(SUSPEND_REASON_RESET, false); // This causes an assert later when DEBUG==1
|
||||
m_mcu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
|
||||
LOGRST("KBD: Keyboard mcu reset line is asserted\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user