PAD: windows, fix crash on config when playing

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech authored and lightningterror committed 2020-12-17 09:38:21 +01:00
1 parent 2c5b75a695
commit c4abe44e67
1 file changed
+3
+3
View File
@@ -1023,9 +1023,12 @@ DWORD WINAPI MaximizeWindowThreadProc(void* lpParameter)
void PADconfigure()
{
HWND tmp = hWnd;
PADclose();
ScopedCoreThreadPause paused_core;
Configure();
paused_core.AllowResume();
PADopen(tmp);
}
#ifdef _MSC_VER