From ea77f856a053665f3d8b77eb0fcfcba2d5fd1d86 Mon Sep 17 00:00:00 2001 From: quasiscroto Date: Fri, 13 Mar 2020 13:18:04 -0700 Subject: Fix two cases where debugger can crash mame ("cheatlist" command before "cheatinit", long strings after "help") --- src/emu/debug/debugcmd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/emu/debug/debugcmd.cpp') diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 41ae0b698a1..c8559ee1fae 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -2535,6 +2535,12 @@ void debugger_commands::execute_cheatlist(int ref, const std::vector