mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-12-03 12:02:14 +00:00
Increased maximum direct memory size
This commit is contained in:
parent
21170bba6b
commit
6b4dcf40f3
@ -67,7 +67,7 @@ type
|
||||
|
||||
const
|
||||
Flo=0;
|
||||
Fhi=$17FFFFFFF;
|
||||
Fhi=$1FFFFFFFF;
|
||||
FMaxSize=(Fhi-Flo+1);
|
||||
|
||||
var
|
||||
|
@ -53,7 +53,8 @@ var
|
||||
NamedManager :TNamedManager;
|
||||
|
||||
Const
|
||||
SCE_KERNEL_MAIN_DMEM_SIZE=$180000000; //6GB
|
||||
//SCE_KERNEL_MAIN_DMEM_SIZE=$180000000; //6GB
|
||||
SCE_KERNEL_MAIN_DMEM_SIZE=$200000000; //8GB
|
||||
|
||||
type
|
||||
pSceKernelDirectMemoryQueryInfo=^SceKernelDirectMemoryQueryInfo;
|
||||
@ -557,6 +558,8 @@ var
|
||||
begin
|
||||
Result:=EINVAL;
|
||||
|
||||
Writeln('srchd:',HexStr(searchStart,10),'..',HexStr(searchEnd,10),' align:',HexStr(alignment,10));
|
||||
|
||||
if (searchEnd<=searchStart) then Exit;
|
||||
|
||||
if (searchEnd>SCE_KERNEL_MAIN_DMEM_SIZE) then Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user