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

@ -160,6 +160,9 @@ public:
auto& kernel = system.Kernel();
Kernel::KAutoObject::Create(std::addressof(event1));
Kernel::KAutoObject::Create(std::addressof(event2));
event1.Initialize("IRequest:Event1");
event2.Initialize("IRequest:Event2");
}