From 5b584857202afef3ac9e4fd94ad738704f7e42ce Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Mon, 29 Nov 2004 00:15:14 +0000 Subject: [PATCH] fix win32 timer_host2mac_time() --- BasiliskII/src/Windows/timer_windows.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BasiliskII/src/Windows/timer_windows.cpp b/BasiliskII/src/Windows/timer_windows.cpp index 44d563bc..c82e105e 100755 --- a/BasiliskII/src/Windows/timer_windows.cpp +++ b/BasiliskII/src/Windows/timer_windows.cpp @@ -34,7 +34,6 @@ // Helper time functions #define MSECS2TICKS(MSECS) (((uint64)(MSECS) * frequency) / 1000) #define USECS2TICKS(USECS) (((uint64)(USECS) * frequency) / 1000000) -#define TICKS2MSECS(TICKS) (((uint64)(TICKS) * 1000) / frequency) #define TICKS2USECS(TICKS) (((uint64)(TICKS) * 1000000) / frequency) // Global variables @@ -165,7 +164,7 @@ int32 timer_host2mac_time(tm_time_t hosttime) if (hosttime < 0) return 0; else { - uint64 t = TICKS2MSECS(hosttime); + uint64 t = TICKS2USECS(hosttime); if (t > 0x7fffffff) return t / 1000; // Time in milliseconds else