Procházet zdrojové kódy

Allow debug of islzma.dll from islzma.sln.

Martijn Laan před 1 měsícem
rodič
revize
313f1c321c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Projects/Src/Compiler.SetupCompiler.pas

+ 1 - 1
Projects/Src/Compiler.SetupCompiler.pas

@@ -603,7 +603,7 @@ begin
   if LZMAInitialized then
   if LZMAInitialized then
     Exit;
     Exit;
   var Filename := CompilerDir + 'islzma.dll';
   var Filename := CompilerDir + 'islzma.dll';
-  var M := LoadCompilerDLL(Filename, []);
+  var M := LoadCompilerDLL(Filename, [ltloTrustAllOnDebug]);
   if not LZMAInitCompressFunctions(M) then
   if not LZMAInitCompressFunctions(M) then
     AbortCompile('Failed to get address of functions in islzma.dll');
     AbortCompile('Failed to get address of functions in islzma.dll');
   LZMAInitialized := True;
   LZMAInitialized := True;