From 41a34ef55b5e93e26979788ba2364a1509112b9f Mon Sep 17 00:00:00 2001 From: red-prig Date: Sun, 11 Sep 2022 23:33:48 +0300 Subject: [PATCH] + --- ps4_elf.pas | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ps4_elf.pas b/ps4_elf.pas index a87e5f72..d624e6ac 100644 --- a/ps4_elf.pas +++ b/ps4_elf.pas @@ -1814,6 +1814,7 @@ const Import:Boolean; mss:Integer; + space_lib:TLIBRARY; begin Import:=(Info^.shndx=SHN_UNDEF); @@ -1844,13 +1845,16 @@ const if (IInfo.lib=nil) then begin FWriteln('Unknow library from '+Info^.pName); - Exit; + space_lib:=Default(TLIBRARY); + space_lib.Import:=Import; + IInfo.lib:=@space_lib; + //Exit; end; if (IInfo.lib^.Import<>Import) and (mss=-1) then begin FWriteln('Wrong library ref:'+IInfo.lib^.strName+':'+BoolToStr(IInfo._md^.Import)+'<>'+BoolToStr(Import)); - Exit; + //Exit; end; functName:=ps4libdoc.GetFunctName(IInfo.nid);