Merge pull request #2130 from lioncash/system_engine

video_core: Remove usages of System::GetInstance() within the engines
This commit is contained in:
bunnei 2019-02-20 21:24:56 -05:00 committed by GitHub
commit ae437320c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 49 additions and 23 deletions

View file

@ -128,7 +128,7 @@ struct System::Impl {
return ResultStatus::ErrorVideoCore;
}
gpu_core = std::make_unique<Tegra::GPU>(renderer->Rasterizer());
gpu_core = std::make_unique<Tegra::GPU>(system, renderer->Rasterizer());
cpu_core_manager.Initialize(system);
is_powered_on = true;