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

Function IsImmCommandWithResult

src/dolphin/src/dvd/dvd.c:835–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833static u32 DmaCommand[] = { 0xffffffff };
834
835inline static BOOL IsImmCommandWithResult(u32 command)
836{
837 u32 i;
838
839 if (command == 9 || command == 10 || command == 11 || command == 12)
840 {
841 return TRUE;
842 }
843
844 for (i = 0; i < sizeof(ImmCommand) / sizeof(ImmCommand[0]); i++)
845 {
846 if (command == ImmCommand[i])
847 return TRUE;
848 }
849
850 return FALSE;
851}
852
853inline static BOOL IsDmaCommand(u32 command)
854{

Callers 1

cbForStateBusyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected