Commit a9aa26f
Avoid off by one error, rounding GetTicks calc
GetTicks cast the result from double to uint64_t, occasionally
causing errors of one tick. E.g. 6143.999999904 will be returned
as 6143 while the correct value is 6144. Proper rounding fixes
the problem.1 parent e972bf3 commit a9aa26f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments