mirror of https://github.com/PCSX2/pcsx2.git
PAD: windows, fix crash on config when playing
This commit is contained in:
parent
2c5b75a695
commit
c4abe44e67
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue