Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9837 from AdmiralCurtiss/mysterious-voodoo-perfor…
…mance-fix

VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
  • Loading branch information
leoetlino committed Jun 23, 2021
2 parents 46120a6 + 1183fb3 commit b66e88e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Core/VideoCommon/Fifo.cpp
Expand Up @@ -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(
[&param] {
// Run events from the CPU thread.
AsyncRequests::GetInstance()->PullEvents();

Expand Down

0 comments on commit b66e88e

Please sign in to comment.