X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fwrappers%2Fsdl2%2Fsdl2allegro.inc;h=4ea4320db52376e87b653f284d8d7975647c9ea3;hp=fedd18bed2f73dfdd54b1655db1ad8bc9620d796;hb=9a2ee072230bd5cb222921d0f34a6416ca69e12f;hpb=ccbaf6953ba60385f0fd86ec5921c81ecd6fe08b diff --git a/src/wrappers/sdl2/sdl2allegro.inc b/src/wrappers/sdl2/sdl2allegro.inc index fedd18b..4ea4320 100644 --- a/src/wrappers/sdl2/sdl2allegro.inc +++ b/src/wrappers/sdl2/sdl2allegro.inc @@ -372,11 +372,11 @@ implementation uses {$IFDEF GO32V2} - {$IFNDEF USE_ENETWRAP} - Watt32, - {$ENDIF} go32, {$ENDIF} + {$IFDEF USE_WATT32} + Watt32, + {$ENDIF} e_Log, g_options, SysUtils, Math, Classes, ctypes; const @@ -881,7 +881,7 @@ implementation procedure AllegroTimerCallback; cdecl; begin inc(ticks); - {$IF DEFINED(GO32V2) AND NOT DEFINED(USE_ENETWRAP)} + {$IFDEF USE_WATT32} userTimerTick(1); {$ENDIF} end; @@ -1195,7 +1195,7 @@ implementation if useVsync then vsync; - {$IF DEFINED(GO32V2) AND NOT DEFINED(USE_ENETWRAP)} + {$IFDEF USE_WATT32} tcp_tick(nil); {$ENDIF} end; @@ -1279,7 +1279,7 @@ implementation Exit end; - {$IF DEFINED(GO32V2) AND NOT DEFINED(USE_ENETWRAP)} + {$IFDEF USE_WATT32} tcp_tick(nil); {$ENDIF} end;