hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
This commit is contained in:
parent
722195cf70
commit
ab704acab8
20 changed files with 55 additions and 0 deletions
|
@ -19,6 +19,7 @@ namespace Service::VI {
|
|||
|
||||
Display::Display(u64 id, std::string name, Core::System& system)
|
||||
: id{id}, name{std::move(name)}, vsync_event{system.Kernel()} {
|
||||
Kernel::KAutoObject::Create(std::addressof(vsync_event));
|
||||
vsync_event.Initialize(fmt::format("Display VSync Event {}", id));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue