diff options
author | 2019-07-12 09:28:34 +1000 | |
---|---|---|
committer | 2019-07-12 09:28:34 +1000 | |
commit | 4e17bb120c26c4ec3ffc8407438f6d09b1da5e86 (patch) | |
tree | 20583b3ca381731b76940e28334bcfdab9719188 /src/mame/drivers/nes.cpp | |
parent | df99ce2ec0e82020a6fee89f4ffaf7f1468fec31 (diff) | |
parent | 9214a78d705f3b83c3ea45534cf1d8355c1cb9c5 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/mame/drivers/nes.cpp')
-rw-r--r-- | src/mame/drivers/nes.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mame/drivers/nes.cpp b/src/mame/drivers/nes.cpp index 5631a9a21fc..b2aacb90e2a 100644 --- a/src/mame/drivers/nes.cpp +++ b/src/mame/drivers/nes.cpp @@ -77,6 +77,8 @@ void nes_state::nes(machine_config &config) NES_CONTROL_PORT(config, m_ctrl1, nes_control_port1_devices, "joypad"); NES_CONTROL_PORT(config, m_ctrl2, nes_control_port2_devices, "joypad"); + m_ctrl1->set_screen_tag(m_screen); + m_ctrl2->set_screen_tag(m_screen); NES_CART_SLOT(config, m_cartslot, NTSC_APU_CLOCK, nes_cart, nullptr); SOFTWARE_LIST(config, "cart_list").set_original("nes"); @@ -112,6 +114,9 @@ void nes_state::famicom(machine_config &config) NES_CONTROL_PORT(config.replace(), m_ctrl1, fc_control_port1_devices, "joypad"); NES_CONTROL_PORT(config.replace(), m_ctrl2, fc_control_port2_devices, "joypad"); NES_CONTROL_PORT(config, m_exp, fc_expansion_devices, nullptr); + m_ctrl1->set_screen_tag(m_screen); + m_ctrl2->set_screen_tag(m_screen); + m_exp->set_screen_tag(m_screen); SOFTWARE_LIST(config, "flop_list").set_original("famicom_flop"); SOFTWARE_LIST(config, "cass_list").set_original("famicom_cass"); @@ -142,6 +147,9 @@ void nes_state::famipalc(machine_config &config) NES_CONTROL_PORT(config.replace(), m_ctrl1, fc_control_port1_devices, "joypad"); NES_CONTROL_PORT(config.replace(), m_ctrl2, fc_control_port2_devices, "joypad"); NES_CONTROL_PORT(config, m_exp, fc_expansion_devices, nullptr); + m_ctrl1->set_screen_tag(m_screen); + m_ctrl2->set_screen_tag(m_screen); + m_exp->set_screen_tag(m_screen); SOFTWARE_LIST(config, "cass_list").set_original("famicom_cass"); } |