mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
revision 21548 caused "trace off" to crash with a access violation [smf]
This commit is contained in:
parent
a3461537c9
commit
60ed70ef50
@ -2544,12 +2544,8 @@ static void execute_trace_internal(running_machine &machine, int ref, int params
|
||||
if (!debug_command_parameter_command(machine, action = param[2]))
|
||||
return;
|
||||
|
||||
/* further validation */
|
||||
if (mame_stricmp(filename, "off") == 0)
|
||||
filename = NULL;
|
||||
|
||||
/* open the file */
|
||||
if (filename)
|
||||
if (mame_stricmp(filename, "off") != 0)
|
||||
{
|
||||
mode = "w";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user