1
0
mirror of synced 2025-01-20 09:42:49 +01:00

Fix KOF Sky Stage Auto Fire

This commit is contained in:
Aaron M 2021-04-13 17:11:41 +12:00
parent e9ec28057f
commit d12ed57365

View File

@ -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))