2
0
Эх сурвалжийг харах

FIX: Windows XP compatibility

Alexander Koblov 3 сар өмнө
parent
commit
1af6bd6f7d

+ 2 - 2
src/platform/upixmapmanager.pas

@@ -2733,11 +2733,11 @@ procedure LoadPixMapManager;
 var
   Q: QWord;
 begin
-  Q:= GetTickCount64;
+  Q:= SysUtils.GetTickCount64;
   DCDebug('Creating PixmapManager');
   PixMapManager:=TPixMapManager.Create;
   PixMapManager.Load(gpCfgDir + 'pixmaps.txt');
-  DCDebug('Creating PixmapManager done '+ IntToStr(GetTickCount64 - Q));
+  DCDebug('Creating PixmapManager done '+ IntToStr(SysUtils.GetTickCount64 - Q));
 end;
 
 initialization