VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
This commit is contained in:
1 parent
be2ec728e4
commit
1183fb3d2d
1 file changed
+3
-3
@@ -297,10 +297,10 @@ void RunGpuLoop()
|
|||||||
AsyncRequests::GetInstance()->SetEnable(true);
|
AsyncRequests::GetInstance()->SetEnable(true);
|
||||||
AsyncRequests::GetInstance()->SetPassthrough(false);
|
AsyncRequests::GetInstance()->SetPassthrough(false);
|
||||||
|
|
||||||
s_gpu_mainloop.Run(
|
const SConfig& param = SConfig::GetInstance();
|
||||||
[] {
|
|
||||||
const SConfig& param = SConfig::GetInstance();
|
|
||||||
|
|
||||||
|
s_gpu_mainloop.Run(
|
||||||
|
[¶m] {
|
||||||
// Run events from the CPU thread.
|
// Run events from the CPU thread.
|
||||||
AsyncRequests::GetInstance()->PullEvents();
|
AsyncRequests::GetInstance()->PullEvents();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user