mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
a2600.cpp: Default to having a right joystick connected. (#10040)
This commit is contained in:
parent
90fa269a7d
commit
7097bf2905
@ -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->out_pb_callback().set(FUNC(a2600_state::switch_B_w));
|
||||||
m_riot->irq_callback().set(FUNC(a2600_state::irq_callback));
|
m_riot->irq_callback().set(FUNC(a2600_state::irq_callback));
|
||||||
#endif
|
#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)
|
void a2600_state::a2600(machine_config &config)
|
||||||
{
|
{
|
||||||
a2600_base_ntsc(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);
|
a2600_cartslot(config);
|
||||||
subdevice<software_list_device>("cart_list")->set_filter("NTSC");
|
subdevice<software_list_device>("cart_list")->set_filter("NTSC");
|
||||||
}
|
}
|
||||||
@ -688,7 +687,7 @@ void a2600_state::a2600p(machine_config &config)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
VCS_CONTROL_PORT(config, CONTROL1_TAG, vcs_control_port_devices, "joy");
|
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);
|
a2600_cartslot(config);
|
||||||
subdevice<software_list_device>("cart_list")->set_filter("PAL");
|
subdevice<software_list_device>("cart_list")->set_filter("PAL");
|
||||||
@ -699,9 +698,6 @@ void a2600_pop_state::a2600_pop(machine_config &config)
|
|||||||
{
|
{
|
||||||
a2600_base_ntsc(config);
|
a2600_base_ntsc(config);
|
||||||
m_maincpu->set_addrmap(AS_PROGRAM, &a2600_pop_state::memory_map);
|
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");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user