MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getBuf

Method getBuf

src/Osako/GhostFile.cpp:199–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197u8 GhostFile::getIconFormat(u8) { return CARD_STAT_ICON_C8; }
198u8 GhostFile::getIconSpeed(u8) { return CARD_STAT_SPEED_SLOW; }
199void *GhostFile::getBuf() { return &mHeader; }
200u32 GhostFile::getFileSize() { return sizeof(Header) + sizeof(FileData); }
201s32 GhostFile::getLength() { return sizeof(Header) + sizeof(FileData); }
202s32 GhostFile::getOffset() { return 0; }

Callers 4

readFunction · 0.45
readTaskFunction · 0.45
writeFunction · 0.45
writeTaskFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected