From d6f7c7febffd2b5014d2d65ab607262be773c0e6 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 12 Oct 2020 19:06:54 +1100 Subject: emu/debug: Removed more macros, added more const, make a couple more things use smart pointers. --- src/emu/debug/debugcmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/debug/debugcmd.cpp') diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index a620d5555d3..acc25e9ab8f 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -650,12 +650,12 @@ bool debugger_commands::debug_command_parameter_command(const char *param) /* validate the comment; success if no error */ CMDERR err = m_console.validate_command(param); - if (err == CMDERR_NONE) + if (err.ERROR_CLASS() == CMDERR::NONE) return true; /* output an error */ m_console.printf("Error in command: %s\n", param); - m_console.printf(" %*s^", CMDERR_ERROR_OFFSET(err), ""); + m_console.printf(" %*s^", err.ERROR_OFFSET(), ""); m_console.printf("%s\n", debugger_console::cmderr_to_string(err)); return 0; } -- cgit v1.2.3