diff options
| author | Mai <mai.iam2048@gmail.com> | 2022-12-10 19:13:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-10 19:13:23 +0000 |
| commit | 54e01c660e7f11f0abc47d66427e4b74c438bb94 (patch) | |
| tree | 82e740cb05a6811e17e1f324679ba7c2c6bb2bc3 /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | 128c23dc29b03740a79bf88cae43699ec8578c35 (diff) | |
| parent | ceae4242fc4775b19193ce16dc3055c7845f20d4 (diff) | |
Merge pull request #11334 from AdmiralCurtiss/globals-fifo
VideoCommon/Fifo: Refactor to class, move to Core::System.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 3623104c76..2684585ca7 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -333,7 +333,8 @@ static void RaiseEvent(int cycles_into_future) CoreTiming::FromThread from = CoreTiming::FromThread::NON_CPU; s64 cycles = 0; // we don't care about timings for dual core mode. - if (!Core::System::GetInstance().IsDualCoreMode() || Fifo::UseDeterministicGPUThread()) + auto& system = Core::System::GetInstance(); + if (!system.IsDualCoreMode() || system.GetFifo().UseDeterministicGPUThread()) { from = CoreTiming::FromThread::CPU; |
