mirror of
https://github.com/holub/mame
synced 2025-05-12 00:58:53 +03:00
vegas.cpp: fix compilte (nw)
This commit is contained in:
parent
ba9063c9a3
commit
c34e94de42
@ -1971,59 +1971,59 @@ static INPUT_PORTS_START( tenthdeg )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( warfa )
|
||||
static INPUT_PORTS_START( warfa )
|
||||
PORT_INCLUDE(vegas_common)
|
||||
|
||||
PORT_MODIFY("DIPS")
|
||||
PORT_DIPNAME( 0x0001, 0x0001, "PM Dump" )
|
||||
PORT_DIPSETTING( 0x0001, "Watchdog resets only" )
|
||||
PORT_DIPSETTING( 0x0000, "All resets" )
|
||||
PORT_DIPNAME( 0x0002, 0x0002, "Quantum 3dfx card rev" )
|
||||
PORT_DIPSETTING( 0x0002, "4" )
|
||||
PORT_DIPSETTING( 0x0000, "?" )
|
||||
PORT_DIPNAME( 0x0040, 0x0040, "Boot ROM Test" )
|
||||
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0080, 0x0080, "Boot ROM Test v1.3" )
|
||||
PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0xc000, 0x4000, "Resolution" )
|
||||
PORT_DIPSETTING( 0xc000, "Standard Res 512x256" )
|
||||
PORT_DIPSETTING( 0x4000, "Medium Res 512x384" )
|
||||
PORT_DIPSETTING( 0x0000, "VGA Res 640x480" )
|
||||
|
||||
PORT_MODIFY("DIPS")
|
||||
PORT_DIPNAME( 0x0001, 0x0001, "PM Dump" )
|
||||
PORT_DIPSETTING( 0x0001, "Watchdog resets only" )
|
||||
PORT_DIPSETTING( 0x0000, "All resets" )
|
||||
PORT_DIPNAME( 0x0002, 0x0002, "Quantum 3dfx card rev" )
|
||||
PORT_DIPSETTING( 0x0002, "4" )
|
||||
PORT_DIPSETTING( 0x0000, "?" )
|
||||
PORT_DIPNAME( 0x0040, 0x0040, "Boot ROM Test" )
|
||||
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0080, 0x0080, "Boot ROM Test v1.3" )
|
||||
PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0xc000, 0x4000, "Resolution" )
|
||||
PORT_DIPSETTING( 0xc000, "Standard Res 512x256" )
|
||||
PORT_DIPSETTING( 0x4000, "Medium Res 512x384" )
|
||||
PORT_DIPSETTING( 0x0000, "VGA Res 640x480" )
|
||||
|
||||
PORT_MODIFY("IN1")
|
||||
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_J) PORT_NAME("Trigger")
|
||||
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_K) PORT_NAME("Discard")
|
||||
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_L) PORT_NAME("Jump")
|
||||
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_U) PORT_NAME("View")
|
||||
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_CODE(KEYCODE_W) PORT_NAME("Forward")
|
||||
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_CODE(KEYCODE_S) PORT_NAME("Back")
|
||||
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_CODE(KEYCODE_A) PORT_NAME("Dodge Left")
|
||||
PORT_MODIFY("IN1")
|
||||
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_J) PORT_NAME("Trigger")
|
||||
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_K) PORT_NAME("Discard")
|
||||
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_L) PORT_NAME("Jump")
|
||||
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_U) PORT_NAME("View")
|
||||
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_CODE(KEYCODE_W) PORT_NAME("Forward")
|
||||
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_CODE(KEYCODE_S) PORT_NAME("Back")
|
||||
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_CODE(KEYCODE_A) PORT_NAME("Dodge Left")
|
||||
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_CODE(KEYCODE_D) PORT_NAME("Dodge Right")
|
||||
|
||||
PORT_START("AN.0")
|
||||
PORT_START("AN.0")
|
||||
PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(1)
|
||||
|
||||
PORT_START("AN.1")
|
||||
|
||||
PORT_START("AN.1")
|
||||
PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(1)
|
||||
|
||||
PORT_START("AN.2")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.3")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.4")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.5")
|
||||
|
||||
PORT_START("AN.2")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.6")
|
||||
PORT_START("AN.3")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.7")
|
||||
|
||||
PORT_START("AN.4")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.5")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.6")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
|
||||
PORT_START("AN.7")
|
||||
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user