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

Function xSGT_SaveProcPrefsCB

src/SB/Game/zSaveLoad.cpp:2335–2343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2333}
2334
2335S32 xSGT_SaveProcPrefsCB(void* vp, st_XSAVEGAME_DATA* xsgdata, st_XSAVEGAME_WRITECONTEXT* wctxt)
2336{
2337 int sum = 0;
2338 sum += xSGWriteData(xsgdata, wctxt, &gSnd.stereo, 1);
2339 sum += xSGWriteData(xsgdata, wctxt, &gSnd.categoryVolFader[2], 1);
2340 sum += xSGWriteData(xsgdata, wctxt, &gSnd.categoryVolFader[0], 1);
2341 sum += xSGWriteData(xsgdata, wctxt, &globals.option_vibration, 1);
2342 return sum + 1;
2343}
2344
2345S32 xSGT_LoadLoadCB(void* vp, st_XSAVEGAME_DATA* xsgdata, st_XSAVEGAME_READCONTEXT* rctxt, U32 ui,
2346 S32 i)

Callers

nothing calls this directly

Calls 1

xSGWriteDataFunction · 0.50

Tested by

no test coverage detected