diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 8fe2fcc0..0640b8c1 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -2672,7 +2672,7 @@ LRESULT CALLBACK WinProc( break; #endif case WM_DEVICECHANGE: - if(wParam == DBT_DEVICEARRIVAL || wParam == DBT_DEVICEREMOVECOMPLETE) + if(wParam == DBT_DEVICEARRIVAL || wParam == DBT_DEVICEREMOVECOMPLETE || wParam == DBT_DEVNODES_CHANGED) S9xDetectJoypads(); break; }