diff options
Diffstat (limited to 'src/devices/bus/nes_ctrl/joypad.cpp')
-rw-r--r-- | src/devices/bus/nes_ctrl/joypad.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bus/nes_ctrl/joypad.cpp b/src/devices/bus/nes_ctrl/joypad.cpp index 0605eea2d9a..1027340cf63 100644 --- a/src/devices/bus/nes_ctrl/joypad.cpp +++ b/src/devices/bus/nes_ctrl/joypad.cpp @@ -175,7 +175,8 @@ void nes_arcstick_device::device_add_mconfig(machine_config &config) { // expansion port to allow daisy chaining NES_CONTROL_PORT(config, m_daisychain, arcstick_daisy, nullptr); - m_daisychain->set_screen_tag(m_port->m_screen); + if (m_port != nullptr) + m_daisychain->set_screen_tag(m_port->m_screen); } |