diff options
| author | 2014-10-08 23:57:17 +0000 | |
|---|---|---|
| committer | 2014-10-08 23:57:17 +0000 | |
| commit | 3b23f9c85e85bcbbcb4915dae7047e35bf32ea6c (patch) | |
| tree | d637adfcf35675c69714dab70fb788d0c300f295 /src/emu/debug/debugcmd.c | |
| parent | d8b4cfe9e03308443715cad998908eef5ba60e85 (diff) | |
Make cheat initialization debugger message more verbose. [Pugsy]
Diffstat (limited to 'src/emu/debug/debugcmd.c')
| -rw-r--r-- | src/emu/debug/debugcmd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index 736a70c2541..e4d529e50e4 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -2074,7 +2074,10 @@ static void execute_cheatinit(running_machine &machine, int ref, int params, con active_cheat++; } - debug_console_printf(machine, "%u cheat initialized\n", active_cheat); + /* give a detailed init message to avoid searches being mistakingly carried out on the wrong CPU */ + device_t *cpu = NULL; + debug_command_parameter_cpu(machine, cheat.cpu, &cpu); + debug_console_printf(machine, "%u cheat initialized for CPU index %s ( aka %s )\n", active_cheat, cheat.cpu, cpu->tag()); } |
