mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 13:02:07 +00:00
Fix Sys_*seconds() on legacy Windows versions.
Returning 'microseconds / 1000ll' at the first call is wrong, the game would thing that the first frame too way too much time. For some reason this wirks in (my) Win10, but breaks on (my) Win7...
This commit is contained in:
parent
db7676307a
commit
8bfcfa7e70
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ Sys_Microseconds(void)
|
|||
|
||||
if (!uSecbase)
|
||||
{
|
||||
uSecbase = microseconds / 1000ll;
|
||||
uSecbase = microseconds - 1001ll;
|
||||
}
|
||||
|
||||
return microseconds - uSecbase;
|
||||
|
|
Loading…
Reference in a new issue