mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
shootgal: Adjusted MAME's crosshair to match actual crosshair (#8739)
Shooting Gallery (shootgal)'s default PORT_CROSSHAIR values are reverse and unscaled against the game's screen resolution. The game does not offer a calibration option, but the test mode that comes up after a few seconds upon setting the DIP switch shows the internal crosshair for adjusting the gun. The new offsets are manually determined. They are visual cues for the MAME users only and are unrelated to the game's operation.
This commit is contained in:
parent
13d85e3ff9
commit
9eab1705ca
@ -1250,10 +1250,10 @@ INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( shootgal )
|
||||
PORT_START("IN0") /* IN0 */
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) PORT_REVERSE
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, -1.0, -8.0/256, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) PORT_REVERSE
|
||||
|
||||
PORT_START("IN1") /* IN1 */
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) PORT_REVERSE
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, -256.0/224, -24.0/256, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) PORT_REVERSE
|
||||
|
||||
PORT_INCLUDE( dkong_in2 )
|
||||
PORT_MODIFY("IN2")
|
||||
|
Loading…
Reference in New Issue
Block a user