From 882c6cf0d43bd86b092dd19903118c6520d8c799 Mon Sep 17 00:00:00 2001 From: LiquidFenrir Date: Fri, 3 Nov 2017 02:19:15 +0100 Subject: [PATCH] show the "main" address to distinguish between heap and code --- sysmodules/rosalina/source/menus/process_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/rosalina/source/menus/process_list.c b/sysmodules/rosalina/source/menus/process_list.c index da1404a..751d6ee 100644 --- a/sysmodules/rosalina/source/menus/process_list.c +++ b/sysmodules/rosalina/source/menus/process_list.c @@ -267,7 +267,7 @@ static void ProcessListMenu_MemoryViewer(const ProcessInfo *info) u32 y = 44 + offset*12; u32 address = row*BYTES_PER_ROW; - Draw_DrawFormattedString(10, y, COLOR_TITLE, "%.8lx | ", address); + Draw_DrawFormattedString(10, y, COLOR_TITLE, "%.8lx | ", address + ((menuMode == MENU_MODE_NORMAL) ? (u32)menus[MENU_MODE_NORMAL].buf : 0)); for(int cursor = 0; cursor < BYTES_PER_ROW; cursor++, address++) {