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

Function xSGT_SaveProcCB

src/SB/Game/zSaveLoad.cpp:2315–2326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2313}
2314
2315S32 xSGT_SaveProcCB(void* vp, st_XSAVEGAME_DATA* xsgdata, st_XSAVEGAME_WRITECONTEXT* wctxt)
2316{
2317 if (globals.sceneCur->sceneID == 'PG12')
2318 {
2319 strcpy(currSceneStr, xUtil_idtag2string('HB01', 0));
2320 }
2321 else
2322 {
2323 strcpy(currSceneStr, xUtil_idtag2string(globals.sceneCur->sceneID, 0));
2324 }
2325 return xSGWriteData(xsgdata, wctxt, currSceneStr, 1, strlen(currSceneStr)) + 1;
2326}
2327
2328S32 xSGT_SaveInfoPrefsCB(void* p1, st_XSAVEGAME_DATA* data, S32* i, S32* j)
2329{

Callers

nothing calls this directly

Calls 2

xUtil_idtag2stringFunction · 0.50
xSGWriteDataFunction · 0.50

Tested by

no test coverage detected