Fix KOF Sky Stage Auto Fire
This commit is contained in:
parent
e9ec28057f
commit
d12ed57365
@ -890,6 +890,8 @@ static int KOFSkyStageThreadLoop(Helpers* helpers) // Temp Fix for turbo fire (R
|
||||
UINT8 Joystick2Button1 = helpers->ReadByte(0x370986, true);
|
||||
UINT8 Joystick2Button2 = helpers->ReadByte(0x37098C, true);
|
||||
UINT8 Joystick2Button3 = helpers->ReadByte(0x370992, true);
|
||||
UINT8 Joystick1Fire = helpers->ReadByte(0x370872, true);
|
||||
UINT8 Joystick2Fire = helpers->ReadByte(0x370968, true);
|
||||
|
||||
if (!(JVSInput1 & 0x20))
|
||||
{
|
||||
@ -937,6 +939,11 @@ static int KOFSkyStageThreadLoop(Helpers* helpers) // Temp Fix for turbo fire (R
|
||||
{
|
||||
helpers->WriteByte(0x370890, 0x00, true);
|
||||
}
|
||||
|
||||
if (Joystick1Fire == 0x01)
|
||||
{
|
||||
helpers->WriteByte(0x370872, 0x00, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (!(JVSInput1 & 0x01))
|
||||
@ -1001,6 +1008,11 @@ static int KOFSkyStageThreadLoop(Helpers* helpers) // Temp Fix for turbo fire (R
|
||||
{
|
||||
helpers->WriteByte(0x370986, 0x00, true);
|
||||
}
|
||||
|
||||
if (Joystick2Fire == 0x01)
|
||||
{
|
||||
helpers->WriteByte(0x370968, 0x00, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (!(JVSInput2 & 0x01))
|
||||
|
Loading…
x
Reference in New Issue
Block a user