* Fix getting clock time

This commit is contained in:
Michaël Van Canneyt 2022-06-22 16:11:03 +02:00
parent a897cae63e
commit 705e4c08f5

View File

@ -769,7 +769,7 @@ Var
begin
lowWord:=value;
highWord:=0;
highWord:=value shr 32;
if LittleEndian then
begin
view.setUint32(ByteOffset+0, lowWord, littleEndian);
@ -801,6 +801,7 @@ begin
WASI_CLOCK_THREAD_CPUTIME_ID:
Result:=TJSDate.Now;
end;
Result:=Result*1000000
end;