diff options
| author | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 21:31:32 -0500 |
|---|---|---|
| committer | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 22:03:25 -0500 |
| commit | b0d244b77232508dcb9bcf3bf9efd9f57797bf3b (patch) | |
| tree | d011dc66a00bffa6076756c28cf836919d0c1cc4 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 186b2f4e92c62fe67230cece4bbdf18b800853ab (diff) | |
VideoCommon/Fifo: Pass system instance through FifoManager constructor
Given how many member functions make use of the system instance,
it's likely just better to pass the system instance in on construction.
Makes the interface a little less noisy to use.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index d9cb9ad0c3..daba4be9e1 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -67,13 +67,13 @@ void VideoConfig::Refresh() const bool lock_gpu_thread = Core::IsRunningAndStarted(); if (lock_gpu_thread) - system.GetFifo().PauseAndLock(system, true, false); + system.GetFifo().PauseAndLock(true, false); g_Config.Refresh(); g_Config.VerifyValidity(); if (lock_gpu_thread) - system.GetFifo().PauseAndLock(system, false, true); + system.GetFifo().PauseAndLock(false, true); }); s_has_registered_callback = true; } |
