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

Function iSGMakeTimeStamp

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

Source from the content-addressed store, hash-verified

583}
584
585void iSGMakeTimeStamp(char* str)
586{
587 OSCalendarTime calendar_time = { 0 };
588 OSTime time = OSGetTime();
589 OSTicksToCalendarTime(time, &calendar_time);
590 sprintf(str, "%02d/%02d/%04d %02d:%02d:%02d", calendar_time.mon + 1, calendar_time.mday,
591 calendar_time.year, calendar_time.hour, calendar_time.min, calendar_time.sec);
592}
593
594S32 iSGSelectGameDir(st_ISGSESSION* isgdata, const char* dname)
595{

Callers 1

xSG_areaComposeLabelFunction · 0.85

Calls 3

OSGetTimeFunction · 0.85
OSTicksToCalendarTimeFunction · 0.85
sprintfFunction · 0.85

Tested by

no test coverage detected