os: refactor multi wait apis to better match Nintendo's latest implementation

This commit is contained in:
Michael Scire committed 2022-04-12 16:47:36 -07:00
1 parent b45671fd35
commit 02b126c2be
23 files changed
+309 -243

No files matched your search

@@ -34,7 +34,7 @@ namespace ams::os::impl {
event->timer_state = TimerEventType::TimerState_Stop;
}
bool UpdateSignalStateAndRecalculateNextTimeToWakeupUnsafe(TimerEventType *event, TimeSpan cur_time) {
bool UpdateSignalStateAndRecalcNextTimeToWakeupUnsafe(TimerEventType *event, TimeSpan cur_time) {
TimeSpan next_time = GetReference(event->next_time_to_wakeup);
switch (event->timer_state) {