Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Compare Revisions
f8da2a2f2ff8668017906f4871f80f3fdf65988b...7d1fc057418fe859028b1c54cff661a6a78241f9
Commits (1)
More Win32 optimizations.
· 7d1fc057
Deucе
authored
Feb 12, 2022
7d1fc057
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xpdev/genwrap.c
src/xpdev/genwrap.c
+2
-1
No files found.
src/xpdev/genwrap.c
View file @
7d1fc057
...
...
@@ -850,6 +850,7 @@ uint64_t xp_timer64(void)
LARGE_INTEGER
tick
;
if
(
!
initialized
)
{
LARGE_INTEGER
freq
;
if
(
!
QueryPerformanceFrequency
(
&
freq
))
can_use_QPF
=
FALSE
;
else
...
...
@@ -870,7 +871,7 @@ uint64_t xp_timer64(void)
if
(
intable
)
ret
=
tick
.
QuadPart
/
msfreq
;
else
ret
=
((
double
)
tick
.
QuadPart
)
/
msdfreq
;
ret
=
(
uint32_t
)(
((
double
)
tick
.
QuadPart
)
/
msdfreq
)
;
}
else
{
ret
=
GetTickCount
();
...
...