1
0
mirror of synced 2024-12-01 01:37:23 +01:00

Fix Demul WaitEvent Issue

This commit is contained in:
Aaron M 2020-08-02 21:03:46 +12:00
parent d265e7a2a6
commit 8129c9241b

View File

@ -2422,18 +2422,18 @@ DWORD WINAPI FFBLoop(LPVOID lpParam)
{ {
if ((configGameId != 1) && (configGameId != 9) && (configGameId != 12) && (configGameId != 28) && (configGameId != 29) && (configGameId != 35)) if ((configGameId != 1) && (configGameId != 9) && (configGameId != 12) && (configGameId != 28) && (configGameId != 29) && (configGameId != 35))
{ {
CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL); if ((configGameId == 26) && (InputDeviceWheelEnable == 1))
}
else
{
if ((configGameId == 26) && (InputDeviceWheelEnable != 1))
{
CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL);
}
else
{ {
CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL); CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL);
} }
else
{
CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL);
}
}
else
{
CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL);
} }
} }