diff options
| author | 2019-02-15 22:05:17 -0500 | |
|---|---|---|
| committer | 2019-02-15 22:06:23 -0500 | |
| commit | a8fa5019b51c9ce765124121daac863cfc1365aa (patch) | |
| tree | e23b97873c1e6b4fcb34066fccb393d2a1147bb8 /src/core/core.cpp | |
| parent | Merge pull request #2123 from lioncash/coretiming-global (diff) | |
| download | yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.gz yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.xz yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.zip | |
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.
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 128 | return ResultStatus::ErrorVideoCore; | 128 | return ResultStatus::ErrorVideoCore; |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | gpu_core = std::make_unique<Tegra::GPU>(renderer->Rasterizer()); | 131 | gpu_core = std::make_unique<Tegra::GPU>(system, renderer->Rasterizer()); |
| 132 | 132 | ||
| 133 | cpu_core_manager.Initialize(system); | 133 | cpu_core_manager.Initialize(system); |
| 134 | is_powered_on = true; | 134 | is_powered_on = true; |