mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-29 23:13:41 +08:00
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
This commit is contained in:
@@ -62,6 +62,7 @@ public:
|
||||
|
||||
RegisterHandlers(functions);
|
||||
|
||||
Kernel::KAutoObject::Create(std::addressof(purchased_event));
|
||||
purchased_event.Initialize("IPurchaseEventManager:PurchasedEvent");
|
||||
}
|
||||
|
||||
@@ -125,6 +126,7 @@ AOC_U::AOC_U(Core::System& system_)
|
||||
|
||||
RegisterHandlers(functions);
|
||||
|
||||
Kernel::KAutoObject::Create(std::addressof(aoc_change_event));
|
||||
aoc_change_event.Initialize("GetAddOnContentListChanged:Event");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user