Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gocha committed Apr 19, 2015
2 parents 007915b + 951a383 commit 5cda95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/wsnes9x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2716,7 +2716,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;
}
Expand Down

0 comments on commit 5cda95a

Please sign in to comment.