PAD: windows, pause config when in game and make sure it opens

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2020-12-12 21:39:09 +01:00 committed by lightningterror
parent 3e0f9d3931
commit 2c5b75a695
1 changed files with 3 additions and 4 deletions

View File

@ -39,6 +39,7 @@
#include "AppConfig.h"
#include <timeapi.h>
#include "Utilities/pxStreams.h"
#include "AppCoreThread.h"
#define WMA_FORCE_UPDATE (WM_APP + 0x537)
#define FORCE_UPDATE_WPARAM ((WPARAM)0x74328943)
@ -1022,11 +1023,9 @@ DWORD WINAPI MaximizeWindowThreadProc(void* lpParameter)
void PADconfigure()
{
if (openCount)
{
return;
}
ScopedCoreThreadPause paused_core;
Configure();
paused_core.AllowResume();
}
#ifdef _MSC_VER