summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xain.cpp')
-rw-r--r--src/mame/drivers/xain.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/xain.cpp b/src/mame/drivers/xain.cpp
index 0e2c0cfeccf..6ae925b7064 100644
--- a/src/mame/drivers/xain.cpp
+++ b/src/mame/drivers/xain.cpp
@@ -275,9 +275,11 @@ CUSTOM_INPUT_MEMBER(xain_state::mcu_status_r)
READ8_MEMBER(xain_state::mcu_comm_reset_r)
{
- if (m_mcu)
- m_mcu->reset_w(PULSE_LINE);
-
+ if (m_mcu.found() && !machine().side_effects_disabled())
+ {
+ m_mcu->reset_w(ASSERT_LINE);
+ m_mcu->reset_w(CLEAR_LINE);
+ }
return 0xff;
}