projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb33ed
)
Fix Windows XP compatibility
author
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 22 Oct 2026 02:52:09 +0000
(
03:52
+0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 22 Oct 2026 02:52:09 +0000
(
03:52
+0100)
cpu.c
patch
|
blob
|
history
diff --git
a/cpu.c
b/cpu.c
index 05a5e2365f9981a1b6894bd6c1af18d8c1077ff5..00bc93d88fde1eb92d93ae7b90fe00bb13f1023d 100644
(file)
--- a/
cpu.c
+++ b/
cpu.c
@@
-689,7
+689,7
@@
static uint64_t pit_clock_ns (void) {
LARGE_INTEGER counter, frequency;
if (!QueryPerformanceCounter (&counter) || !QueryPerformanceFrequency (&frequency) || frequency.QuadPart <= 0) {
- return (uint64_t) GetTickCount
64
() * 1000000ULL;
+ return (uint64_t) GetTickCount () * 1000000ULL;
}
return ((uint64_t) counter.QuadPart / (uint64_t) frequency.QuadPart) * 1000000000ULL +