MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / cbForStateCheckID3

Function cbForStateCheckID3

src/dolphin/src/dvd/dvd.c:561–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561static void cbForStateCheckID3(u32 intType)
562{
563 if (intType == 16)
564 {
565 executing->state = -1;
566 stateTimeout();
567 return;
568 }
569
570 if (intType & 1)
571 {
572 NumInternalRetry = 0;
573
574 if (!CheckCancel(0))
575 {
576 executing->state = 1;
577 stateBusy(executing);
578 }
579 }
580 else
581 {
582 stateGettingError();
583 }
584}
585
586static void AlarmHandler(OSAlarm* alarm, OSContext* context)
587{

Callers

nothing calls this directly

Calls 4

stateTimeoutFunction · 0.85
CheckCancelFunction · 0.85
stateBusyFunction · 0.85
stateGettingErrorFunction · 0.85

Tested by

no test coverage detected