1
0
mirror of synced 2025-03-01 15:40:24 +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,20 +2422,20 @@ 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))
{
CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL);
} }
else else
{
if ((configGameId == 26) && (InputDeviceWheelEnable != 1))
{ {
CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL); CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL);
} }
}
else else
{ {
CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL); CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL);
} }
} }
}
hlp.log("Entering Game's FFBLoop loop"); hlp.log("Entering Game's FFBLoop loop");
bool* kr = (bool*)lpParam; bool* kr = (bool*)lpParam;