From 9eab1705ca2fe11246938514ed3404c272535e20 Mon Sep 17 00:00:00 2001 From: aequites7 Date: Fri, 22 Oct 2021 14:02:15 -0700 Subject: [PATCH] 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. --- src/mame/drivers/dkong.cpp | 4 ++-- 1 file 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")