mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-30 10:18:14 -05:00
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user