mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
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.
This commit is contained in:
parent
70b7a59456
commit
f97b2d472a
8 changed files with 170 additions and 174 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue