VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
This commit is contained in:
parent
be2ec728e4
commit
1183fb3d2d
|
@ -297,10 +297,10 @@ void RunGpuLoop()
|
|||
AsyncRequests::GetInstance()->SetEnable(true);
|
||||
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.
|
||||
AsyncRequests::GetInstance()->PullEvents();
|
||||
|
||||
|
|
Loading…
Reference in New Issue