1
0
mirror of synced 2025-02-21 04:26:35 +01:00

ignore some values causing bad wheel movements F355 Challenge games

This commit is contained in:
Boomslangnz 2023-03-05 20:57:29 +13:00
parent dd18e09d5c
commit becdc379cb

View File

@ -3844,18 +3844,7 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
if (stateFFB > 0x60 && stateFFB < 0x70)
{
if (oldstateFFB != stateFFB)
{
if (stateFFB != 0x6A)
{
double percentForce = (stateFFB - 96) / 15.0;
double percentLength = 100;
triggers->Rumble(0, percentForce, percentLength);
triggers->Constant(constants->DIRECTION_FROM_RIGHT, percentForce);
}
}
if (stateFFB != 0x6A)
if (stateFFB != 0x68 && stateFFB != 0x69 && stateFFB != 0x6A && stateFFB != 0x6B)
{
double percentForce = (stateFFB - 96) / 15.0;
double percentLength = 100;