mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-05 01:42:41 +00:00
VideoCommon/Fifo: Pass Core::System to methods.
This commit is contained in:
parent
5624dd6d39
commit
ceae4242fc
8 changed files with 76 additions and 82 deletions
|
@ -84,7 +84,7 @@ std::string VideoBackendBase::BadShaderFilename(const char* shader_stage, int co
|
|||
void VideoBackendBase::Video_ExitLoop()
|
||||
{
|
||||
auto& system = Core::System::GetInstance();
|
||||
system.GetFifo().ExitGpuLoop();
|
||||
system.GetFifo().ExitGpuLoop(system);
|
||||
}
|
||||
|
||||
// Run from the CPU thread (from VideoInterface.cpp)
|
||||
|
@ -324,7 +324,7 @@ void VideoBackendBase::InitializeShared()
|
|||
auto& system = Core::System::GetInstance();
|
||||
auto& command_processor = system.GetCommandProcessor();
|
||||
command_processor.Init(system);
|
||||
system.GetFifo().Init();
|
||||
system.GetFifo().Init(system);
|
||||
PixelEngine::Init();
|
||||
BPInit();
|
||||
VertexLoaderManager::Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue