diff options
| author | Lioncache <mai.iam2048@gmail.com> | 2023-12-20 08:40:38 -0500 |
|---|---|---|
| committer | Lioncache <mai.iam2048@gmail.com> | 2023-12-20 09:02:53 -0500 |
| commit | f97b2d472acdc8f69427f184fa8fc35a08f231e6 (patch) | |
| tree | b157b17f28e3b34244e9cc4ea6b6fdc9801a9511 /Source/Core/VideoCommon/VideoBackendBase.cpp | |
| parent | 70b7a59456164606833ebe45e7d790b8f03aab7a (diff) | |
VideoCommon/CommandProcessor: Pass system instance through constructor
Makes the use of the interface a little less noisy, especially given
how much of the interface depends on an instance being present.
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index b34e8d8c02..ef39216167 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -378,7 +378,7 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx, auto& system = Core::System::GetInstance(); auto& command_processor = system.GetCommandProcessor(); - command_processor.Init(system); + command_processor.Init(); system.GetFifo().Init(); system.GetPixelEngine().Init(system); BPInit(); |
