Revert "Merge pull request #2441 from ergo720/time_fix"

This reverts commit 8cc9c73f58.
This commit is contained in:
RadWolfie 2024-01-05 00:33:34 -06:00
parent 8cc9c73f58
commit 06c28a847e
1 changed files with 1 additions and 5 deletions

View File

@ -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 <assert.h>
#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);
}