mirror of https://github.com/PCSX2/pcsx2.git
SPU2: pause while config screen is open
This commit is contained in:
parent
7d917afcbb
commit
1e7b69b1ab
|
@ -24,6 +24,7 @@
|
||||||
#endif
|
#endif
|
||||||
#include "R3000A.h"
|
#include "R3000A.h"
|
||||||
#include "Utilities/pxStreams.h"
|
#include "Utilities/pxStreams.h"
|
||||||
|
#include "AppCoreThread.h"
|
||||||
|
|
||||||
using namespace Threading;
|
using namespace Threading;
|
||||||
|
|
||||||
|
@ -69,7 +70,10 @@ void SPU2configure()
|
||||||
{
|
{
|
||||||
if (!CheckSSE())
|
if (!CheckSSE())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
ScopedCoreThreadPause paused_core;
|
||||||
configure();
|
configure();
|
||||||
|
paused_core.AllowResume();
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue