summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-06-17 17:48:26 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-06-17 17:48:26 -0400
commit403da10fd26a8818e674261225cd0cc075867e0e (patch)
tree066d15f1e37888528fe6bf3e7a56563d8cbc7cf9
parent9a08e0b80bb1da1f51761c411d2a53e3f6283ccb (diff)
m72.cpp: Fix V35-based games (nw)
-rw-r--r--src/mame/video/m72.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/video/m72.cpp b/src/mame/video/m72.cpp
index 2929f35e73d..4fd2c3498b3 100644
--- a/src/mame/video/m72.cpp
+++ b/src/mame/video/m72.cpp
@@ -2,6 +2,7 @@
// copyright-holders:Nicola Salmoria
#include "emu.h"
#include "includes/m72.h"
+#include "cpu/nec/v25.h"
/***************************************************************************
@@ -346,7 +347,10 @@ WRITE16_MEMBER(m72_state::irq_line_w)
// printf("m_raster_irq_position %04x\n", m_raster_irq_position);
// bchopper title screen jumps around, as does ingame at times, if this isn't done here
- m_upd71059c->ir2_w(0);
+ if (m_upd71059c.found())
+ m_upd71059c->ir2_w(0);
+ else
+ m_maincpu->set_input_line(NEC_INPUT_LINE_INTP2, CLEAR_LINE);
}
WRITE16_MEMBER(m72_state::scrollx1_w)