summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2021-07-28 07:44:55 -0800
committer GitHub <noreply@github.com>2021-07-29 01:44:55 +1000
commit2ad1f4d9aafb12c0e0b4058dd269f48651699d4a (patch)
tree4a2f1478d8758f8b02f0dace853982c4fd6e0857 /src/mame/machine
parente6b0d608eb7682add1e3db19caee3dc859cc2872 (diff)
bus/nes: Added support for YUNG-08 SMB2 FDS conversions. (#8366)
Software list items promoted to working (nes.xml) --------------------------------------- Super Mario Bros. 2 (YUNG-08) Super Mario Bros. 2 (YUNG-08, no protection)
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/nes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/nes.cpp b/src/mame/machine/nes.cpp
index 901d41e2176..8c7d8287d0a 100644
--- a/src/mame/machine/nes.cpp
+++ b/src/mame/machine/nes.cpp
@@ -83,7 +83,7 @@ void nes_state::machine_start()
space.install_read_handler(0x8000, 0xffff, read8sm_delegate(*m_cartslot, FUNC(nes_cart_slot_device::read_h)));
}
- if (m_cartslot->get_pcb_id() == BTL_SMB2JB || m_cartslot->get_pcb_id() == UNL_AC08 || m_cartslot->get_pcb_id() == UNL_SMB2J)
+ if (m_cartslot->get_pcb_id() == BTL_SMB2JB || m_cartslot->get_pcb_id() == BTL_YUNG08 || m_cartslot->get_pcb_id() == UNL_AC08 || m_cartslot->get_pcb_id() == UNL_SMB2J)
{
logerror("write_ex installed!\n");
space.install_write_handler(0x4020, 0x40ff, write8sm_delegate(*m_cartslot, FUNC(nes_cart_slot_device::write_ex)));