SPU2: pause while config screen is open

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2020-09-29 09:16:52 +02:00 committed by refractionpcsx2
parent 7d917afcbb
commit 1e7b69b1ab
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#endif
#include "R3000A.h"
#include "Utilities/pxStreams.h"
#include "AppCoreThread.h"
using namespace Threading;
@ -69,7 +70,10 @@ void SPU2configure()
{
if (!CheckSSE())
return;
ScopedCoreThreadPause paused_core;
configure();
paused_core.AllowResume();
}
// --------------------------------------------------------------------------------------