From 76d274cfe27d7a5a41d8094fe51ccb1fe2ab15e0 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Fri, 19 Jan 2018 01:42:53 +0100 Subject: [PATCH] getmemregions: userland never exceeds 0x40000000 --- sysmodules/rosalina/source/gdb/remote_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/rosalina/source/gdb/remote_command.c b/sysmodules/rosalina/source/gdb/remote_command.c index 41c1005..c565927 100644 --- a/sysmodules/rosalina/source/gdb/remote_command.c +++ b/sysmodules/rosalina/source/gdb/remote_command.c @@ -281,7 +281,7 @@ GDB_DECLARE_REMOTE_COMMAND_HANDLER(GetMemRegions) goto end; } - while (address < 0x50000000 ///< Limit to check for regions + while (address < 0x40000000 ///< Limit to check for regions && posInBuffer < maxPosInBuffer && R_SUCCEEDED(svcQueryProcessMemory(&memi, &pagei, handle, address))) {