DEADSOFTWARE

Game: Use proper syntax of sets for game options instead of raw bitwise operations
[d2df-sdl.git] / src / tools / wadcvt.dpr
index 35cce86b12e5a57fee8282cd5f2551cfd5ae8dc4..8f2715279741e8eb8a9403027e287757533f7086 100644 (file)
@@ -27,6 +27,12 @@ program __wadcvt__;
 uses
   SysUtils,
   Classes,
+  {$IFDEF USE_SDL}
+    SDL in '../lib/sdl/sdl.pas',
+  {$ENDIF}
+  {$IFDEF USE_SDL2}
+    SDL2 in '../lib/sdl2/sdl2.pas',
+  {$ENDIF}
   {$I ../shared/vampimg.inc}
   mempool in '../shared/mempool.pas',
   utils in '../shared/utils.pas',
@@ -601,7 +607,7 @@ begin
   Move(fu[1], result[9], length(fu));
 end;
 {$ELSE}
-const UtfFlags = (1 shl 10); // bit 11
+const UtfFlags = (1 shl 11); // bit 11
 {$ENDIF}
 
 function ZipOne (ds: TStream; fname: AnsiString; st: TStream; dopack: Boolean=true): TFileInfo;