diff options
| author | Léo Lam <leo@leolam.fr> | 2021-06-24 00:41:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-24 00:41:43 +0200 |
| commit | b66e88e4b93e57c97dd5859fcc2ae281a83977c0 (patch) | |
| tree | e9e28d66639cbf08f56707db237f5d0ae4ba50e4 /Source/Core/VideoCommon/Fifo.cpp | |
| parent | 46120a6108111170f7ac849d716762121c5c9e76 (diff) | |
| parent | 1183fb3d2d55b004a2918a7c69dd8bbaf995c650 (diff) | |
Merge pull request #9837 from AdmiralCurtiss/mysterious-voodoo-performance-fix
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index cfc126cfc1..743e01afaf 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -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(); |
