From 8129c9241be2a3ac81101d528619f4317418b080 Mon Sep 17 00:00:00 2001 From: Aaron M Date: Sun, 2 Aug 2020 21:03:46 +1200 Subject: [PATCH] Fix Demul WaitEvent Issue --- DllMain.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/DllMain.cpp b/DllMain.cpp index 37c2545..df7889f 100644 --- a/DllMain.cpp +++ b/DllMain.cpp @@ -2422,19 +2422,19 @@ DWORD WINAPI FFBLoop(LPVOID lpParam) { if ((configGameId != 1) && (configGameId != 9) && (configGameId != 12) && (configGameId != 28) && (configGameId != 29) && (configGameId != 35)) { - CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL); - } - else - { - if ((configGameId == 26) && (InputDeviceWheelEnable != 1)) + if ((configGameId == 26) && (InputDeviceWheelEnable == 1)) { - CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL); + CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL); } else { - CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL); + CreateThread(NULL, 0, AdjustFFBStrengthLoopWaitEvent, NULL, 0, NULL); } - } + } + else + { + CreateThread(NULL, 0, AdjustFFBStrengthLoopNoWaitEvent, NULL, 0, NULL); + } } hlp.log("Entering Game's FFBLoop loop");