mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-16 13:22:41 +00:00
Kernel/Events: Log an error when trying to create Pulse events and timers.
Related to #1904
This commit is contained in:
@@ -22,6 +22,11 @@ SharedPtr<Event> Event::Create(ResetType reset_type, std::string name) {
|
||||
evt->reset_type = reset_type;
|
||||
evt->name = std::move(name);
|
||||
|
||||
if (reset_type == ResetType::Pulse) {
|
||||
LOG_ERROR(Kernel, "Unimplemented event reset type Pulse");
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
return evt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user