From 7097bf2905a126fa89645fc7be7cc7eb7c426e9d Mon Sep 17 00:00:00 2001 From: 0kmg <9137159+0kmg@users.noreply.github.com> Date: Sat, 23 Jul 2022 06:33:34 -0800 Subject: a2600.cpp: Default to having a right joystick connected. (#10040) --- src/mame/atari/a2600.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/mame/atari/a2600.cpp b/src/mame/atari/a2600.cpp index c2078b6d124..1c9effeaac7 100644 --- a/src/mame/atari/a2600.cpp +++ b/src/mame/atari/a2600.cpp @@ -635,16 +635,15 @@ void a2600_base_state::a2600_base_ntsc(machine_config &config) m_riot->out_pb_callback().set(FUNC(a2600_state::switch_B_w)); m_riot->irq_callback().set(FUNC(a2600_state::irq_callback)); #endif + + VCS_CONTROL_PORT(config, CONTROL1_TAG, vcs_control_port_devices, "joy"); + VCS_CONTROL_PORT(config, CONTROL2_TAG, vcs_control_port_devices, "joy"); } void a2600_state::a2600(machine_config &config) { a2600_base_ntsc(config); - - VCS_CONTROL_PORT(config, CONTROL1_TAG, vcs_control_port_devices, "joy"); - VCS_CONTROL_PORT(config, CONTROL2_TAG, vcs_control_port_devices, nullptr); - a2600_cartslot(config); subdevice("cart_list")->set_filter("NTSC"); } @@ -688,7 +687,7 @@ void a2600_state::a2600p(machine_config &config) #endif VCS_CONTROL_PORT(config, CONTROL1_TAG, vcs_control_port_devices, "joy"); - VCS_CONTROL_PORT(config, CONTROL2_TAG, vcs_control_port_devices, nullptr); + VCS_CONTROL_PORT(config, CONTROL2_TAG, vcs_control_port_devices, "joy"); a2600_cartslot(config); subdevice("cart_list")->set_filter("PAL"); @@ -699,9 +698,6 @@ void a2600_pop_state::a2600_pop(machine_config &config) { a2600_base_ntsc(config); m_maincpu->set_addrmap(AS_PROGRAM, &a2600_pop_state::memory_map); - - VCS_CONTROL_PORT(config, CONTROL1_TAG, vcs_control_port_devices, "joy"); - VCS_CONTROL_PORT(config, CONTROL2_TAG, vcs_control_port_devices, "joy"); } -- cgit v1.2.3