From 9c53786b92dcc1f3000b9f58e808ee9ea5ceca8f Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 15 Jun 2022 07:59:47 +1000 Subject: rohga.cpp: Correct nitrobal protection device. --- src/mame/drivers/rohga.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mame/drivers/rohga.cpp b/src/mame/drivers/rohga.cpp index 2c8fb4cb985..604ce57e8fe 100644 --- a/src/mame/drivers/rohga.cpp +++ b/src/mame/drivers/rohga.cpp @@ -1018,6 +1018,11 @@ void rohga_state::nitrobal(machine_config &config) MCFG_VIDEO_START_OVERRIDE(rohga_state, wizdfire) + DECO146PROT(config.replace(), m_ioprot, 0); + m_ioprot->port_a_cb().set_ioport("INPUTS"); + m_ioprot->port_b_cb().set_ioport("SYSTEM"); + m_ioprot->port_c_cb().set_ioport("DSW"); + m_ioprot->soundlatch_irq_cb().set_inputline("audiocpu", 0); m_ioprot->set_interface_scramble_reverse(); m_ioprot->set_use_magic_read_address_xor(true); } -- cgit v1.2.3