From a8fa5019b51c9ce765124121daac863cfc1365aa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 15 Feb 2019 22:05:17 -0500 Subject: video_core: Remove usages of System::GetInstance() within the engines Avoids the use of the global accessor in favor of explicitly making the system a dependency within the interface. --- src/core/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/core.cpp b/src/core/core.cpp index 8aa0932c5..ab7181a05 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -128,7 +128,7 @@ struct System::Impl { return ResultStatus::ErrorVideoCore; } - gpu_core = std::make_unique(renderer->Rasterizer()); + gpu_core = std::make_unique(system, renderer->Rasterizer()); cpu_core_manager.Initialize(system); is_powered_on = true; -- cgit v1.2.3