summaryrefslogtreecommitdiffstats
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2017-05-03 09:06:27 -0400
committer Nathan Woods <npwoods@mess.org>2017-05-03 09:06:27 -0400
commite38d3fb15d79cc4393c435cb3a79b413b075c839 (patch)
treecb2f1d95f9e051ef67fa4f0bba04f5ddde979842 /src/emu/debug/debugcmd.cpp
parentca123eded28bd257f9ce5b7237a55d3cc60ef206 (diff)
Fixed a crash in the 'symlist' debugger command (MT#6575)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp3
1 files changed, 1 insertions, 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<std::string>
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))