better keep gun initial position centered for when using analog sticks

This commit is contained in:
EkeEke 2012-11-16 01:53:02 +01:00
parent 7026a8445e
commit 4d142b2e9c

View File

@ -92,6 +92,8 @@ static struct
void lightgun_reset(int port)
{
input.analog[port][0] = bitmap.viewport.w / 2;
input.analog[port][1] = bitmap.viewport.h / 2;
lightgun.State = 0x40;
lightgun.Port = 4;
}