From: Robert Pengelly Date: Thu, 22 Oct 2026 02:52:09 +0000 (+0100) Subject: Fix Windows XP compatibility X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=75cad3cb94eafce74050744c70a8bff286a333ad;p=dosemu.git Fix Windows XP compatibility --- diff --git a/cpu.c b/cpu.c index 05a5e23..00bc93d 100644 --- 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) GetTickCount64 () * 1000000ULL; + return (uint64_t) GetTickCount () * 1000000ULL; } return ((uint64_t) counter.QuadPart / (uint64_t) frequency.QuadPart) * 1000000000ULL +