From fee9f6b4276813d619739b3b760aca33b343ca98 Mon Sep 17 00:00:00 2001 From: LiquidFenrir Date: Sun, 17 Dec 2017 19:31:05 +0100 Subject: [PATCH] forgot to return, made processes viewed attached even though the debugger wasnt enabled --- sysmodules/rosalina/source/menus/process_list.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysmodules/rosalina/source/menus/process_list.c b/sysmodules/rosalina/source/menus/process_list.c index 79e455a..3667dd1 100644 --- a/sysmodules/rosalina/source/menus/process_list.c +++ b/sysmodules/rosalina/source/menus/process_list.c @@ -576,7 +576,10 @@ static void ProcessListMenu_MemoryViewer(const ProcessInfo *info) static inline void ProcessListMenu_HandleSelected(const ProcessInfo *info) { if(!gdbServer.super.running || info->isZombie) + { ProcessListMenu_MemoryViewer(info); + return; + } u32 id; for(id = 0; id < MAX_DEBUG && (!(gdbServer.ctxs[id].flags & GDB_FLAG_SELECTED) || gdbServer.ctxs[id].pid != info->pid); id++);