MCPcopy Create free account
hub / github.com/cemu-project/Cemu / IOS_DestroyTimer

Function IOS_DestroyTimer

src/Cafe/IOSU/kernel/iosu_kernel.cpp:247–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 IOS_ERROR IOS_DestroyTimer(IOSTimerId timerId)
248 {
249 std::unique_lock _l(sTimerMutex);
250 if (timerId >= sTimers.size() || !sTimers[timerId].isValid)
251 return IOS_ERROR_INVALID;
252 IOS_StopTimerInternal(timerId);
253 sTimers[timerId].isValid = false;
254 sTimersFreeHandles.push_back(timerId);
255 return IOS_ERROR_OK;
256 }
257
258 void IOSTimerThread()
259 {

Callers 2

StopMethod · 0.85
SetTimerUpdateMethod · 0.85

Calls 2

IOS_StopTimerInternalFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected