mirror of https://github.com/PCSX2/pcsx2.git
PAD: windows, pause config when in game and make sure it opens
This commit is contained in:
parent
3e0f9d3931
commit
2c5b75a695
|
@ -39,6 +39,7 @@
|
||||||
#include "AppConfig.h"
|
#include "AppConfig.h"
|
||||||
#include <timeapi.h>
|
#include <timeapi.h>
|
||||||
#include "Utilities/pxStreams.h"
|
#include "Utilities/pxStreams.h"
|
||||||
|
#include "AppCoreThread.h"
|
||||||
|
|
||||||
#define WMA_FORCE_UPDATE (WM_APP + 0x537)
|
#define WMA_FORCE_UPDATE (WM_APP + 0x537)
|
||||||
#define FORCE_UPDATE_WPARAM ((WPARAM)0x74328943)
|
#define FORCE_UPDATE_WPARAM ((WPARAM)0x74328943)
|
||||||
|
@ -1022,11 +1023,9 @@ DWORD WINAPI MaximizeWindowThreadProc(void* lpParameter)
|
||||||
|
|
||||||
void PADconfigure()
|
void PADconfigure()
|
||||||
{
|
{
|
||||||
if (openCount)
|
ScopedCoreThreadPause paused_core;
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Configure();
|
Configure();
|
||||||
|
paused_core.AllowResume();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
|
Loading…
Reference in New Issue