diff options
author | aequites7 <aequites@gmail.com> | 2021-10-22 14:02:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 17:02:15 -0400 |
commit | 9eab1705ca2fe11246938514ed3404c272535e20 (patch) | |
tree | 1613aa0a79087ba7f923a0caa5290d409c1741d5 | |
parent | 13d85e3ff96c9e39f0e9774fd559d9761aaf1940 (diff) |
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.
-rw-r--r-- | src/mame/drivers/dkong.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/dkong.cpp b/src/mame/drivers/dkong.cpp index e7e67ba0bf5..23c535787e7 100644 --- a/src/mame/drivers/dkong.cpp +++ b/src/mame/drivers/dkong.cpp @@ -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") |