summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-04-02 19:43:55 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-04-02 19:43:55 -0400
commit0ff709ed13cb883583ea3f6b0da6aa2f7f813604 (patch)
treebe13a1268c7fd75694426c8fe36c9672a4748daf
parent8ed432758a575a17479a35af7c777fcd23967fc4 (diff)
Unbreak marble (nw)
-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 */