From e38d3fb15d79cc4393c435cb3a79b413b075c839 Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Wed, 3 May 2017 09:06:27 -0400 Subject: [PATCH] Fixed a crash in the 'symlist' debugger command (MT#6575) --- src/emu/debug/debugcmd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index ce017a27277..843b8e383dc 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -2931,8 +2931,7 @@ void debugger_commands::execute_symlist(int ref, const std::vector symbol_table *symtable; int symnum, count = 0; - - if (!params[0].empty()) + if (!params.empty()) { /* validate parameters */ if (!validate_cpu_parameter(params[0].c_str(), cpu))