mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-20 03:11:51 +02:00
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
This commit is contained in:
parent
be2ec728e4
commit
1183fb3d2d
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue