hle: kernel: Ensure all kernel objects with KAutoObject are properly created.

This commit is contained in:
bunnei 2021-04-09 16:56:11 -07:00
parent 722195cf70
commit ab704acab8
20 changed files with 55 additions and 0 deletions

View file

@ -18,6 +18,7 @@ StandardUserSystemClockCore::StandardUserSystemClockCore(
network_system_clock_core{network_system_clock_core}, auto_correction_enabled{},
auto_correction_time{SteadyClockTimePoint::GetRandom()}, auto_correction_event{
system.Kernel()} {
Kernel::KAutoObject::Create(std::addressof(auto_correction_event));
auto_correction_event.Initialize("StandardUserSystemClockCore:AutoCorrectionEvent");
}