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

Function zMenuFMVPlay

src/SB/Game/zMenu.cpp:480–489  ·  view source on GitHub ↗

Floating point assignments are out of order.

Source from the content-addressed store, hash-verified

478
479// Floating point assignments are out of order.
480void zMenuFMVPlay(char* filename, U32 buttons, F32 time, bool skippable, bool lockController)
481{
482 if (filename)
483 {
484 zFMVPlay(filename, buttons, time, skippable, lockController);
485 time_last = (float)iTimeGet();
486 time_current = time_last;
487 sAttractMode_timer = 48.264f;
488 }
489}
490
491S32 zMenuIsFirstBoot()
492{

Callers 1

zMenuLoopFunction · 0.85

Calls 2

zFMVPlayFunction · 0.70
iTimeGetFunction · 0.50

Tested by

no test coverage detected