mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 04:35:56 +00:00
kernel: equeue: added missing sceKernelDeleteHRTimerEvent
This commit is contained in:
parent
48c51bd9ef
commit
174b5c0f95
2 changed files with 21 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue