mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
make sure that controller devices don't get duplicate descriptions
in listxml output. nw.
This commit is contained in:
parent
8453d27f76
commit
a7b55252fd
@ -54,7 +54,7 @@ nes_vaus_device::nes_vaus_device(const machine_config &mconfig, device_type type
|
||||
}
|
||||
|
||||
nes_vaus_device::nes_vaus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, NES_ARKPADDLE, "Arkanoid Vaus NES Controller", tag, owner, clock, "nes_vaus", __FILE__),
|
||||
device_t(mconfig, NES_ARKPADDLE, "NES Arkanoid Vaus Controller", tag, owner, clock, "nes_vaus", __FILE__),
|
||||
device_nes_control_port_interface(mconfig, *this),
|
||||
m_paddle(*this, "PADDLE"),
|
||||
m_button(*this, "BUTTON")
|
||||
@ -62,7 +62,7 @@ nes_vaus_device::nes_vaus_device(const machine_config &mconfig, const char *tag,
|
||||
}
|
||||
|
||||
nes_vausfc_device::nes_vausfc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
nes_vaus_device(mconfig, NES_ARKPADDLE_FC, "Arkanoid Vaus FC Controller", tag, owner, clock, "nes_vausfc", __FILE__)
|
||||
nes_vaus_device(mconfig, NES_ARKPADDLE_FC, "FC Arkanoid Vaus Controller", tag, owner, clock, "nes_vausfc", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -194,12 +194,12 @@ nes_fcpad2_device::nes_fcpad2_device(const machine_config &mconfig, const char *
|
||||
}
|
||||
|
||||
nes_ccpadl_device::nes_ccpadl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
nes_joypad_device(mconfig, NES_CCPAD_LEFT, "Crazy Climber Left Pad", tag, owner, clock, "nes_ccpadl", __FILE__)
|
||||
nes_joypad_device(mconfig, NES_CCPAD_LEFT, "FC Crazy Climber Left Pad", tag, owner, clock, "nes_ccpadl", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
nes_ccpadr_device::nes_ccpadr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
nes_joypad_device(mconfig, NES_CCPAD_RIGHT, "Crazy Climber Right Pad", tag, owner, clock, "nes_ccpadr", __FILE__)
|
||||
nes_joypad_device(mconfig, NES_CCPAD_RIGHT, "FC Crazy Climber Right Pad", tag, owner, clock, "nes_ccpadr", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -162,7 +162,7 @@ ioport_constructor nes_suborkey_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
nes_suborkey_device::nes_suborkey_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, NES_SUBORKEYBOARD, "FC Subor Keyboard", tag, owner, clock, "nes_suborkey", __FILE__),
|
||||
device_t(mconfig, NES_SUBORKEYBOARD, "Subor FC Keyboard", tag, owner, clock, "nes_suborkey", __FILE__),
|
||||
device_nes_control_port_interface(mconfig, *this),
|
||||
m_kbd(*this, "SUBOR")
|
||||
{
|
||||
|
@ -77,7 +77,7 @@ ioport_constructor sms_graphic_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_graphic_device::sms_graphic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, SMS_GRAPHIC, "Graphic Board", tag, owner, clock, "sms_graphic", __FILE__)
|
||||
: device_t(mconfig, SMS_GRAPHIC, "Sega SMS Graphic Board", tag, owner, clock, "sms_graphic", __FILE__)
|
||||
, device_sms_control_port_interface(mconfig, *this)
|
||||
, m_buttons(*this, "BUTTONS")
|
||||
, m_x(*this, "X")
|
||||
|
@ -51,7 +51,7 @@ ioport_constructor sms_joypad_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_joypad_device::sms_joypad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_JOYPAD, "Control Pad", tag, owner, clock, "sms_joypad", __FILE__),
|
||||
device_t(mconfig, SMS_JOYPAD, "Sega SMS Control Pad", tag, owner, clock, "sms_joypad", __FILE__),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_joypad(*this, "JOYPAD")
|
||||
{
|
||||
|
@ -70,7 +70,7 @@ ioport_constructor sms_light_phaser_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_light_phaser_device::sms_light_phaser_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_LIGHT_PHASER, "Light Phaser", tag, owner, clock, "sms_light_phaser", __FILE__),
|
||||
device_t(mconfig, SMS_LIGHT_PHASER, "Sega SMS Light Phaser", tag, owner, clock, "sms_light_phaser", __FILE__),
|
||||
device_video_interface(mconfig, *this),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_lphaser_pins(*this, "CTRL_PORT"),
|
||||
|
@ -29,7 +29,7 @@ const device_type SMS_MULTITAP = &device_creator<sms_multitap_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_multitap_device::sms_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_MULTITAP, "Multitap", tag, owner, clock, "sms_multitap", __FILE__),
|
||||
device_t(mconfig, SMS_MULTITAP, "Sega SMS Multitap", tag, owner, clock, "sms_multitap", __FILE__),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_subctrl1_port(*this, "ctrl1"),
|
||||
m_subctrl2_port(*this, "ctrl2"),
|
||||
|
@ -73,7 +73,7 @@ ioport_constructor sms_paddle_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_paddle_device::sms_paddle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_PADDLE, "Paddle", tag, owner, clock, "sms_paddle", __FILE__),
|
||||
device_t(mconfig, SMS_PADDLE, "Sega SMS Paddle", tag, owner, clock, "sms_paddle", __FILE__),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_paddle_pins(*this, "CTRL_PORT"),
|
||||
m_paddle_x(*this, "PADDLE_X"),
|
||||
|
@ -51,7 +51,7 @@ ioport_constructor sms_rapid_fire_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_rapid_fire_device::sms_rapid_fire_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_RAPID_FIRE, "Rapid Fire", tag, owner, clock, "sms_rapid_fire", __FILE__),
|
||||
device_t(mconfig, SMS_RAPID_FIRE, "Sega SMS Rapid Fire", tag, owner, clock, "sms_rapid_fire", __FILE__),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_rfire_sw(*this, "rfu_sw"),
|
||||
m_subctrl_port(*this, "ctrl"),
|
||||
|
@ -112,7 +112,7 @@ ioport_constructor sms_sports_pad_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_sports_pad_device::sms_sports_pad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_SPORTS_PAD, "Sports Pad US", tag, owner, clock, "sms_sports_pad", __FILE__),
|
||||
device_t(mconfig, SMS_SPORTS_PAD, "Sega SMS Sports Pad US", tag, owner, clock, "sms_sports_pad", __FILE__),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_sports_in(*this, "SPORTS_IN"),
|
||||
m_sports_out(*this, "SPORTS_OUT"),
|
||||
|
@ -87,7 +87,7 @@ ioport_constructor sms_sports_pad_jp_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
sms_sports_pad_jp_device::sms_sports_pad_jp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, SMS_SPORTS_PAD_JP, "Sports Pad JP", tag, owner, clock, "sms_sports_pad_jp", __FILE__),
|
||||
device_t(mconfig, SMS_SPORTS_PAD_JP, "Sega SMS Sports Pad JP", tag, owner, clock, "sms_sports_pad_jp", __FILE__),
|
||||
device_sms_control_port_interface(mconfig, *this),
|
||||
m_sports_jp_in(*this, "SPORTS_JP_IN"),
|
||||
m_sports_jp_x(*this, "SPORTS_JP_X"),
|
||||
|
@ -58,7 +58,7 @@ ioport_constructor vcs_joystick_booster_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
vcs_joystick_booster_device::vcs_joystick_booster_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, VCS_JOYSTICK_BOOSTER, "Digital joystick with Boostergrip", tag, owner, clock, "vcs_joystick_booster", __FILE__),
|
||||
device_t(mconfig, VCS_JOYSTICK_BOOSTER, "Atari / CBM Digital joystick with Boostergrip", tag, owner, clock, "vcs_joystick_booster", __FILE__),
|
||||
device_vcs_control_port_interface(mconfig, *this),
|
||||
m_joy(*this, "JOY"),
|
||||
m_potx(*this, "POTX"),
|
||||
|
@ -51,7 +51,7 @@ ioport_constructor vcs_joystick_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
vcs_joystick_device::vcs_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, VCS_JOYSTICK, "Digital joystick", tag, owner, clock, "vcs_joystick", __FILE__),
|
||||
device_t(mconfig, VCS_JOYSTICK, "Atari / CBM Digital joystick", tag, owner, clock, "vcs_joystick", __FILE__),
|
||||
device_vcs_control_port_interface(mconfig, *this),
|
||||
m_joy(*this, "JOY")
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ ioport_constructor vcs_keypad_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
vcs_keypad_device::vcs_keypad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, VCS_KEYPAD, "Keypad", tag, owner, clock, "vcs_keypad", __FILE__),
|
||||
device_t(mconfig, VCS_KEYPAD, "Atari / CBM Keypad", tag, owner, clock, "vcs_keypad", __FILE__),
|
||||
device_vcs_control_port_interface(mconfig, *this),
|
||||
m_keypad(*this, "KEYPAD")
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ ioport_constructor vcs_lightpen_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
vcs_lightpen_device::vcs_lightpen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, VCS_LIGHTPEN, "Light Pen", tag, owner, clock, "vcs_lightpen", __FILE__),
|
||||
device_t(mconfig, VCS_LIGHTPEN, "Atari / CBM Light Pen", tag, owner, clock, "vcs_lightpen", __FILE__),
|
||||
device_vcs_control_port_interface(mconfig, *this),
|
||||
m_joy(*this, "JOY"),
|
||||
m_lightx(*this, "LIGHTX"),
|
||||
|
@ -54,7 +54,7 @@ ioport_constructor vcs_paddles_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
vcs_paddles_device::vcs_paddles_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, VCS_PADDLES, "Digital paddles", tag, owner, clock, "vcs_paddles", __FILE__),
|
||||
device_t(mconfig, VCS_PADDLES, "Atari / CBM Digital paddles", tag, owner, clock, "vcs_paddles", __FILE__),
|
||||
device_vcs_control_port_interface(mconfig, *this),
|
||||
m_joy(*this, "JOY"),
|
||||
m_potx(*this, "POTX"),
|
||||
|
@ -48,7 +48,7 @@ ioport_constructor vcs_wheel_device::device_input_ports() const
|
||||
//-------------------------------------------------
|
||||
|
||||
vcs_wheel_device::vcs_wheel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, VCS_WHEEL, "Driving Wheel", tag, owner, clock, "vcs_wheel", __FILE__),
|
||||
device_t(mconfig, VCS_WHEEL, "Atari / CBM Driving Wheel", tag, owner, clock, "vcs_wheel", __FILE__),
|
||||
device_vcs_control_port_interface(mconfig, *this),
|
||||
m_joy(*this, "JOY"),
|
||||
m_wheel(*this, "WHEEL")
|
||||
|
Loading…
Reference in New Issue
Block a user