File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,9 @@ class ControllerHotPlug : public Hook
146146
147147 static void DeviceEnumerationThread ()
148148 {
149+ #ifdef _DEBUG
149150 SetThreadDescription (GetCurrentThread (), L" DeviceEnumerationThread" );
151+ #endif
150152
151153 while (true )
152154 {
@@ -169,7 +171,7 @@ class ControllerHotPlug : public Hook
169171
170172 bool apply () override
171173 {
172- // Patch game to go through our DInput_EnumJoysticksCallback func, so we can learn GUID of any already connected pads
174+ // Patch games controller init code to go through our DInput_EnumJoysticksCallback func, so we can learn GUID of any already connected pads
173175 Memory::VP::Patch (Module::exe_ptr (DInputInit_CallbackPtr_Addr + 1 ), DInput_EnumJoysticksCallback);
174176
175177 return true ;
You can’t perform that action at this time.
0 commit comments