From 81e086b5ac490f41498030ee3127c086116b4af2 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 7 Jan 2019 21:42:32 -0500 Subject: core: Set is_powered_on before GPU is initialized. --- src/core/core.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/core.cpp b/src/core/core.cpp index 6dda20faa..11094a87a 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -129,10 +129,12 @@ struct System::Impl { return ResultStatus::ErrorVideoCore; } + is_powered_on = true; + gpu_core = std::make_unique(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 -- cgit v1.2.3