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

Function __CARDIsReadable

src/dolphin/src/card/CARDOpen.c:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78s32 __CARDIsReadable(CARDControl* card, CARDDir* entry)
79{
80 s32 result = __CARDIsWritable(card, entry);
81
82 if (result == CARD_RESULT_NOPERM && (entry->permission & 0x4)) {
83 return CARD_RESULT_READY;
84 }
85
86 return result;
87}
88
89s32 __CARDGetFileNo(CARDControl *card, const char *fileName, s32 *pfileNo)
90{

Callers 4

CARDReadAsyncFunction · 0.85
__CARDGetStatusExFunction · 0.85
CARDFastOpenFunction · 0.85
CARDGetStatusFunction · 0.85

Calls 1

__CARDIsWritableFunction · 0.85

Tested by

no test coverage detected