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

Function cbForStateCoverClosed

src/dolphin/src/dvd/dvd.c:627–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627static void cbForStateCoverClosed(u32 intType)
628{
629 if (intType == 16)
630 {
631 executing->state = -1;
632 stateTimeout();
633 return;
634 }
635
636 if (intType & 1)
637 {
638 NumInternalRetry = 0;
639 stateCheckID();
640 }
641 else
642 {
643 stateGettingError();
644 }
645}
646
647static void stateMotorStopped(void)
648{

Callers

nothing calls this directly

Calls 3

stateTimeoutFunction · 0.85
stateCheckIDFunction · 0.85
stateGettingErrorFunction · 0.85

Tested by

no test coverage detected