From a767763486829dbc338058cfe07e0fb42ac7a327 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Thu, 23 Mar 2023 08:06:02 -0700 Subject: [PATCH] Debugger: QoL for bpchange when no args --- source/Debugger/Debug.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 022337e7..bd4d83df 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -1896,7 +1896,10 @@ Update_t CmdBreakpointEnable (int nArgs) { Update_t CmdBreakpointChange (int nArgs) { if (! g_nBreakpoints) - return ConsoleDisplayError("There are no (PC) Breakpoints defined."); + { + ConsolePrintFormat( "There are no " CHC_CATEGORY "PC" CHC_DEFAULT " Breakpoints defined." ); + return ConsoleDisplayError( "" ); + } if (nArgs != 2) return Help_Arg_1( CMD_BREAKPOINT_CHANGE );