forked from ShuriZma/suyu
1
0
Fork 0

core: Set is_powered_on before GPU is initialized.

This commit is contained in:
bunnei 2019-01-07 21:42:32 -05:00
parent 75b417489a
commit 81e086b5ac
1 changed files with 3 additions and 1 deletions

View File

@ -129,10 +129,12 @@ struct System::Impl {
return ResultStatus::ErrorVideoCore;
}
is_powered_on = true;
gpu_core = std::make_unique<Tegra::GPU>(system, renderer->Rasterizer());
cpu_core_manager.Initialize(system);
is_powered_on = true;
LOG_DEBUG(Core, "Initialized OK");
// Reset counters and set time origin to current frame