diff options
author | Aaron Giles <aaron@aarongiles.com> | 2009-07-20 06:07:01 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2009-07-20 06:07:01 +0000 |
commit | 2d493cd5f901812e66f256047b71f968fb3305c0 (patch) | |
tree | e3dfde86ea818f1aca8b26c01de5f832556014b6 /src | |
parent | 8671cd30853095ceffa44fd0ef14a4dd85872bbe (diff) |
From: hoge hoge [mailto:c8cv@hotmail.com]
Sent: Thursday, July 16, 2009 6:59 PM
To: submit@mamedev.org
Subject: namcos22 timecris crosshair fix
Hello,
Attached is a diff for 0132u5 that fixes a problem with the Time Crisis gun crosshair.
The right and bottom parts of the screen couldn't be accessed, and you couldn't shoot
off-screen. Off-screen shooting has a function in test mode, in the fix this is the
bottom edge of the screen. This fix requires the user to (re)calibrate the gun via
test mode.
Greets,
hap
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/namcos22.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/namcos22.c b/src/mame/drivers/namcos22.c index 3ac28310c59..bbe5e88e22f 100644 --- a/src/mame/drivers/namcos22.c +++ b/src/mame/drivers/namcos22.c @@ -2357,10 +2357,8 @@ static READ32_HANDLER( namcos22_gun_r ) return xpos<<16; case 1: /* 430004 */ - return (ypos>>1)<<16; - case 2: /* 430008 */ - return (ypos>>1)<<16; + return ((ypos>>1)+0x10)<<16; case 3: default: @@ -5065,9 +5063,9 @@ static INPUT_PORTS_START( timecris ) PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_START( "LIGHTX" ) - PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, -0.1, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) + PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) PORT_START( "LIGHTY" ) - PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, -0.184, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) + PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4) PORT_START("MCUP5A") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |