diff --git a/src/core/kernel/exports/EmuKrnlRtl.cpp b/src/core/kernel/exports/EmuKrnlRtl.cpp index be1925fbd..96741bfe0 100644 --- a/src/core/kernel/exports/EmuKrnlRtl.cpp +++ b/src/core/kernel/exports/EmuKrnlRtl.cpp @@ -42,7 +42,6 @@ namespace NtDll #include "core\kernel\init\CxbxKrnl.h" // For CxbxrAbort() #include "core\kernel\support\Emu.h" // For EmuLog(LOG_LEVEL::WARNING, ) -#include "EmuKrnlKi.h" #include #ifdef _WIN32 @@ -1662,10 +1661,7 @@ XBSYSAPI EXPORTNUM(304) xbox::boolean_xt NTAPI xbox::RtlTimeFieldsToTime TimeFields->Hour) * MINSPERHOUR + TimeFields->Minute) * SECSPERMIN + TimeFields->Second) * 1000 + - TimeFields->Millisecond); - - // This function must return a time expressed in 100ns units (the Windows time interval), so it needs a final multiplication here - *Time = RtlExtendedIntegerMultiply(*Time, CLOCK_TIME_INCREMENT); + TimeFields->Millisecond) * TICKSPERMSEC; RETURN(TRUE); }