Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

uint32 OSystem_Dreamcast::getMillis (  ) [virtual]

Get the number of milliseconds since the program was started.

Implements OSystem.

Definition at line 32 of file time.cpp.

Referenced by delayMillis().

  static uint32 msecs=0;
  static unsigned int t0=0;

  unsigned int t = Timer();
  unsigned int dm, dt = t - t0;

  t0 = t;
  dm = (dt << 6)/3125U;
  dt -= (dm * 3125U)>>6;
  t0 -= dt;

  return msecs += dm;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index