From: Toni Wilen Date: Mon, 9 Dec 2019 17:34:23 +0000 (+0200) Subject: DMA debugger command line parsing fix. X-Git-Tag: 4300~11 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0e7b201f95198db490b83a8c2b3403a2e33a4836;p=francis%2Fwinuae.git DMA debugger command line parsing fix. --- diff --git a/debug.cpp b/debug.cpp index 6dba2553..ad7325df 100644 --- a/debug.cpp +++ b/debug.cpp @@ -5901,11 +5901,11 @@ static bool debug_line (TCHAR *input) } } } else { + int nextcmd = peekchar(&inptr); if (more_params(&inptr) && *inptr == '?') { mw_help(); } else { free_heatmap(); - int nextcmd = peekchar(&inptr); if (nextcmd != ' ') { next_char(&inptr); }