- fixed: screen->FrameTime should use an adjusted frame start time

This commit is contained in:
Rachael Alexanderson 2017-12-07 03:01:57 -05:00
commit a29d9e157c
3 changed files with 9 additions and 1 deletions

View file

@ -164,6 +164,11 @@ uint64_t I_msTime()
return NSToMS(I_nsTime());
}
uint64_t I_msTimeFS() // from "start"
{
return NSToMS(I_nsTime() - FirstFrameStartTime);
}
int I_GetTime()
{
return NSToTic(CurrentFrameStartTime - FirstFrameStartTime);