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

Function iSGLoadFile

src/SB/Core/gc/isavegame.cpp:753–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753S32 iSGLoadFile(st_ISGSESSION* isgdata, const char* fname, char* databuf, S32 async)
754{
755 S32 numBytes = iSGFileSize(isgdata, fname);
756 return iSGReadLeader(isgdata, fname, databuf, numBytes, async);
757}
758
759static S32 iSG_mc_fread(st_ISG_MEMCARD_DATA* mcdata, char*, S32, S32);
760S32 iSGReadLeader(st_ISGSESSION* isgdata, const char* fname, char* databuf, S32 numbytes, S32 async)

Callers 1

xSG_ld_readgameFunction · 0.85

Calls 2

iSGFileSizeFunction · 0.70
iSGReadLeaderFunction · 0.70

Tested by

no test coverage detected