From f9adbcc9d966b6d8eea1c2c55df381f601709df1 Mon Sep 17 00:00:00 2001 From: LiquidFenrir Date: Thu, 7 Dec 2017 18:23:29 +0100 Subject: [PATCH] fix same-name variables --- sysmodules/rosalina/source/menus/process_list.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysmodules/rosalina/source/menus/process_list.c b/sysmodules/rosalina/source/menus/process_list.c index 4b1649d..47a517d 100644 --- a/sysmodules/rosalina/source/menus/process_list.c +++ b/sysmodules/rosalina/source/menus/process_list.c @@ -101,12 +101,12 @@ static void ProcessListMenu_MemoryViewer(const ProcessInfo *info) codeTotalSize = (u32)(textTotalRoundedSize + rodataTotalRoundedSize + dataTotalRoundedSize); codeDestAddress = codeStartAddress = (u32)textStartAddress; //should be 0x00100000 - MemInfo info; + MemInfo mem; PageInfo out; heapDestAddress = heapStartAddress = 0x08000000; - svcQueryProcessMemory(&info, &out, processHandle, heapStartAddress); - heapTotalSize = info.size; + svcQueryProcessMemory(&mem, &out, processHandle, heapStartAddress); + heapTotalSize = mem.size; Result codeRes = svcMapProcessMemoryEx(processHandle, codeDestAddress, codeStartAddress, codeTotalSize); Result heapRes = svcMapProcessMemoryEx(processHandle, heapDestAddress, heapStartAddress, heapTotalSize);