This commit is contained in:
red-prig 2022-09-05 19:44:19 +03:00
parent f5ef041dcf
commit 380a64f4ec
2 changed files with 16 additions and 0 deletions

View File

@ -91,6 +91,12 @@ begin
//Result:=1; //yes
end;
//ps5? no
function ps4_sceKernelIsProspero:Integer; SysV_ABI_CDecl;
begin
Result:=0; //no
end;
//void * _aligned_malloc(
// size_t size,
// size_t alignment
@ -919,6 +925,7 @@ begin
//thread
lib^.set_proc($5AC95C2B51507062,@ps4_sceKernelIsNeoMode);
lib^.set_proc($9A9C4076A5BB74A6,@ps4_sceKernelIsProspero);
//mmap
@ -1007,6 +1014,9 @@ begin
px:=Result._add_lib('libScePosix');
px^.MapSymbol:=lib^.MapSymbol;
px:=Result._add_lib('libkernel_cpumode_platform');
px^.MapSymbol:=lib^.MapSymbol;
lib:=Result._add_lib('libkernel_unity');
lib^.set_proc($5A4C0477737BC346,@ps4_sceKernelInstallExceptionHandler);

View File

@ -480,6 +480,9 @@ begin
kTileModeThin_2dThin:
_Load_Linear(cmd,TvImage2(image)); //TODO
kTileModeDepth_1dThin:
_Load_Linear(cmd,TvImage2(image)); //TODO
else
Assert(false,'TODO');
end;
@ -603,6 +606,9 @@ begin
kTileModeThin_2dThin:
Result:=_Check_Linear(TvImage2(image)); //TODO
kTileModeDepth_1dThin:
Result:=_Check_Linear(TvImage2(image)); //TODO
else
Assert(false,'TODO');
end;