Skip to content

Commit 3337e28

Browse files
committed
Added I_GetTickCount() system function
1 parent a5f0668 commit 3337e28

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

i_system.pas

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,13 @@ function I_SetDPIAwareness: boolean;
332332
usemmx: boolean = true;
333333
win_vista_or_newer: boolean = true;
334334

335+
//==============================================================================
336+
//
337+
// I_GetTickCount
338+
//
339+
//==============================================================================
340+
function I_GetTickCount: LongWord;
341+
335342
implementation
336343

337344
uses
@@ -1132,6 +1139,16 @@ function I_SetDPIAwareness: boolean;
11321139
FreeLibrary(dllinst);
11331140
end;
11341141

1142+
//==============================================================================
1143+
//
1144+
// I_GetTickCount
1145+
//
1146+
//==============================================================================
1147+
function I_GetTickCount: LongWord;
1148+
begin
1149+
Result := GetTickCount;
1150+
end;
1151+
11351152
initialization
11361153
basetime := 0;
11371154

0 commit comments

Comments
 (0)