From 5d25ffd6df59c995a8adb00831a93708325f40cf Mon Sep 17 00:00:00 2001 From: Shauleiz Date: Tue, 22 Nov 2016 13:28:32 +0200 Subject: [PATCH] Minor change in the order of functions Now Sync_Position() comes before FfbStartThread() --- apps/common/vJoyInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/vJoyInterface.cpp b/apps/common/vJoyInterface.cpp index 2b265a0..363bcd1 100644 --- a/apps/common/vJoyInterface.cpp +++ b/apps/common/vJoyInterface.cpp @@ -502,9 +502,9 @@ namespace vJoyNS { { Set_stat(rID, VJD_STAT_OWN); Set_hNotify(rID, RegisterHandleNotification(hWnd, hTmp)); + Sync_Position(rID); if (IsDeviceFfb(rID)) FfbStartThread(hTmp); - Sync_Position(rID); return TRUE; } else