diff options
Diffstat (limited to 'src/emu/debug/debugcon.cpp')
| -rw-r--r-- | src/emu/debug/debugcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcon.cpp b/src/emu/debug/debugcon.cpp index b35d4afc690..9b5bd969c83 100644 --- a/src/emu/debug/debugcon.cpp +++ b/src/emu/debug/debugcon.cpp @@ -414,7 +414,7 @@ void debug_console_register_command(running_machine &machine, const char *comman assert_always(machine.phase() == MACHINE_PHASE_INIT, "Can only call debug_console_register_command() at init time!"); assert_always((machine.debug_flags & DEBUG_FLAG_ENABLED) != 0, "Cannot call debug_console_register_command() when debugger is not running"); - cmd = auto_alloc_clear(machine, debug_command); + cmd = auto_alloc_clear(machine, <debug_command>()); /* fill in the command */ strcpy(cmd->command, command); |
