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/VideoBackendBase.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/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index 3d00a1e7ec..b34e8d8c02 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -93,7 +93,7 @@ std::string VideoBackendBase::BadShaderFilename(const char* shader_stage, int co void VideoBackendBase::Video_ExitLoop() { auto& system = Core::System::GetInstance(); - system.GetFifo().ExitGpuLoop(system); + system.GetFifo().ExitGpuLoop(); } // Run from the CPU thread (from VideoInterface.cpp) @@ -379,7 +379,7 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx, auto& system = Core::System::GetInstance(); auto& command_processor = system.GetCommandProcessor(); command_processor.Init(system); - system.GetFifo().Init(system); + system.GetFifo().Init(); system.GetPixelEngine().Init(system); BPInit(); VertexLoaderManager::Init(); |
