mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
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
This commit is contained in:
parent
8671cd3085
commit
2d493cd5f9
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user