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

Function xSGGameSize

src/SB/Core/x/xsavegame.cpp:227–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227S32 xSGGameSize(st_XSAVEGAME_DATA* xsgdata, S32 gidx)
228{
229 S32 size = 0;
230 if (xSG_chdir_gamedir(xsgdata))
231 {
232 char* fname = xSG_cm_slotname(xsgdata, gidx);
233 size = iSGFileSize(xsgdata->isgsess, fname);
234 }
235 return size;
236}
237
238char* xSGGameModDate(st_XSAVEGAME_DATA* xsgdata, S32 gidx)
239{

Callers 2

xSGGameIsEmptyFunction · 0.70
zSaveLoad_GameSelectFunction · 0.50

Calls 3

xSG_chdir_gamedirFunction · 0.85
xSG_cm_slotnameFunction · 0.85
iSGFileSizeFunction · 0.50

Tested by

no test coverage detected