getmemregions: userland never exceeds 0x40000000

This commit is contained in:
TuxSH 2018-01-19 01:42:53 +01:00 committed by GitHub
parent ccf13be964
commit 76d274cfe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ GDB_DECLARE_REMOTE_COMMAND_HANDLER(GetMemRegions)
goto end; goto end;
} }
while (address < 0x50000000 ///< Limit to check for regions while (address < 0x40000000 ///< Limit to check for regions
&& posInBuffer < maxPosInBuffer && posInBuffer < maxPosInBuffer
&& R_SUCCEEDED(svcQueryProcessMemory(&memi, &pagei, handle, address))) && R_SUCCEEDED(svcQueryProcessMemory(&memi, &pagei, handle, address)))
{ {