1
0
mirror of synced 2024-11-27 16:10:52 +01:00

Remove Infinite Spring

This commit is contained in:
Boomslangnz 2023-03-07 21:33:13 +13:00
parent cac0a4838d
commit 432491ad9b

View File

@ -3819,7 +3819,7 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
if (stateFFB > 0x10 && stateFFB < 0x20)
{
double percentForce = (stateFFB - 10) / 15.0;
triggers->Springi(percentForce);
triggers->Spring(percentForce);
}
if (stateFFB > 0x20 && stateFFB < 0x30)
@ -3838,13 +3838,7 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
if (stateFFB > 0x40 && stateFFB < 0x50)
{
double percentForce = (stateFFB - 64) / 15.0;
percentForce = percentForce * 2.0;
if (percentForce > 1.0)
percentForce = 1.0;
triggers->Springi(percentForce);
triggers->Spring(percentForce);
}
if (stateFFB > 0x50 && stateFFB < 0x60)