diff options
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp index 35d3927f..c591fc36 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp @@ -37,6 +37,9 @@ void FTNoIR_Tracker::reload() if (g_pDI) g_pDI->Release(); + g_pJoystick = nullptr; + g_pDI = nullptr; + StartTracker(frame); } |