kernel: equeue: added missing sceKernelDeleteHRTimerEvent

This commit is contained in:
psucien 2024-12-31 17:24:56 +01:00
parent 48c51bd9ef
commit 174b5c0f95
2 changed files with 21 additions and 0 deletions

View file

@ -111,6 +111,13 @@ public:
bool HasSmallTimer() const {
return small_timer_event.event.data != 0;
}
bool RemoveSmallTimer(u64 id) {
if (HasSmallTimer() && small_timer_event.event.ident == id) {
small_timer_event = {};
return true;
}
return false;
}
int WaitForSmallTimer(SceKernelEvent* ev, int num, u32 micros);