-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,7 +294,7 @@ static int32_t clock() | |
int32_t I_GetTime(void) | ||
{ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ghaerr
|
||
int32_t now = clock(); | ||
return ((now - basetime) * TICRATE) / CLOCKS_PER_SEC; | ||
return ((now - basetime) * TICRATE) / 1000L; | ||
} | ||
|
||
|
||
|
@ghaerr I am sure that there is better implementation of I_GetTime() for ELKS. I saw recently some PRs for improved timers in ELKS?