mirror of https://github.com/snes9xgit/snes9x.git
Win32: fix controller hotplugging
This commit is contained in:
parent
61f1358849
commit
951a383ae2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue