MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / GetVersion

Method GetVersion

NetStream/source/players/player_fmod.cpp:384–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384const char *FMODPlayer::GetVersion()
385{
386 static char sversion[16];
387 unsigned int version = 0;
388
389 if (s_system)
390 {
391 s_system->getVersion(&version);
392 }
393
394 unsigned int major = (version & 0xFFFF0000) >> 16;
395 unsigned int minor = (version & 0x0000FF00) >> 8;
396 unsigned int dev = (version & 0x000000FF);
397 sce_paf_snprintf(sversion, sizeof(sversion), "%u.%u.%u", major, minor, dev);
398
399 return sversion;
400}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected