summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarisy1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atarisy1.cpp')
-rw-r--r--src/mame/drivers/atarisy1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/atarisy1.cpp b/src/mame/drivers/atarisy1.cpp
index f39bd664a8c..0ca86d8b373 100644
--- a/src/mame/drivers/atarisy1.cpp
+++ b/src/mame/drivers/atarisy1.cpp
@@ -273,6 +273,9 @@ READ8_MEMBER(atarisy1_state::adc_r)
WRITE8_MEMBER(atarisy1_state::adc_w)
{
+ if (!m_adc.found())
+ return;
+
m_adc->address_offset_start_w(space, offset & 7, 0);
/* the A4 bit enables/disables joystick IRQs */