work with processes with code starting at 0x14000000

This commit is contained in:
LiquidFenrir 2017-12-16 19:26:55 +01:00
parent d54417ac0a
commit 0075fe2aa0

View File

@ -213,7 +213,8 @@ static void ProcessListMenu_MemoryViewer(const ProcessInfo *info)
svcGetProcessInfo(&textStartAddress, processHandle, 0x10005); svcGetProcessInfo(&textStartAddress, processHandle, 0x10005);
codeTotalSize = (u32)(textTotalRoundedSize + rodataTotalRoundedSize + dataTotalRoundedSize); codeTotalSize = (u32)(textTotalRoundedSize + rodataTotalRoundedSize + dataTotalRoundedSize);
codeDestAddress = codeStartAddress = (u32)textStartAddress; //should be 0x00100000 codeStartAddress = (u32)textStartAddress; //should be 0x00100000, rarely 0x14000000
codeDestAddress = 0x00100000;
MemInfo mem; MemInfo mem;
PageInfo out; PageInfo out;