mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
7d7950e52d
commit
3b8d38ad4b
|
@ -217,6 +217,8 @@ begin
|
|||
if (src=nil) then Exit;
|
||||
|
||||
i:=src.ItemIndex;
|
||||
if (i=-1) then Exit;
|
||||
|
||||
ptr:=PVkPhysicalDeviceProperties(src.Items.Objects[i]);
|
||||
|
||||
if (ptr=nil) then Exit;
|
||||
|
|
|
@ -121,7 +121,11 @@ end;
|
|||
|
||||
Destructor TGameProcessSimple.Destroy;
|
||||
begin
|
||||
thread_dec_ref(Ftd);
|
||||
if (Ftd<>nil) then
|
||||
begin
|
||||
thread_dec_ref(Ftd);
|
||||
Ftd:=nil;
|
||||
end;
|
||||
inherited;
|
||||
end;
|
||||
|
||||
|
|
|
@ -679,6 +679,7 @@ begin
|
|||
|
||||
if (n<>0) then
|
||||
begin
|
||||
Writeln(StdErr,'failed cpu_thread_create:0x',HexStr(n,8));
|
||||
thread_free(newtd);
|
||||
Exit(EINVAL);
|
||||
end;
|
||||
|
|
|
@ -325,7 +325,7 @@ begin
|
|||
Result:=0;
|
||||
end else
|
||||
begin
|
||||
Result:=-1;
|
||||
Result:=GetLastError;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
|
|
Loading…
Reference in New Issue