mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 11:05:46 +00:00
core: Set is_powered_on before GPU is initialized.
This commit is contained in:
parent
a9e4bbc70f
commit
fca1122cef
1 changed files with 3 additions and 1 deletions
|
@ -129,10 +129,12 @@ struct System::Impl {
|
||||||
return ResultStatus::ErrorVideoCore;
|
return ResultStatus::ErrorVideoCore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
is_powered_on = true;
|
||||||
|
|
||||||
gpu_core = std::make_unique<Tegra::GPU>(system, renderer->Rasterizer());
|
gpu_core = std::make_unique<Tegra::GPU>(system, renderer->Rasterizer());
|
||||||
|
|
||||||
cpu_core_manager.Initialize(system);
|
cpu_core_manager.Initialize(system);
|
||||||
is_powered_on = true;
|
|
||||||
LOG_DEBUG(Core, "Initialized OK");
|
LOG_DEBUG(Core, "Initialized OK");
|
||||||
|
|
||||||
// Reset counters and set time origin to current frame
|
// Reset counters and set time origin to current frame
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue