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

Function zSaveLoad_slotIsEmpty

src/SB/Game/zSaveLoad.cpp:2384–2389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2382}
2383
2384U32 zSaveLoad_slotIsEmpty(U32 slot)
2385{
2386 // TODO: Fix this hardcoded offset once string generation is correct
2387 char* label = zSaveLoadGameTable[slot].label;
2388 return strcmp(label, "ld gameslot group" + 0x49c) == 0 ? 1 : 0;
2389}
2390
2391S32 XSGAutoData::LastPhysicalSlot()
2392{

Callers 2

zSaveLoad_GameSelectFunction · 0.85
zUIFont_UpdateFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected