diff options
| author | 2008-09-26 13:42:51 +0000 | |
|---|---|---|
| committer | 2008-09-26 13:42:51 +0000 | |
| commit | 229d5989898bc1abae0b5beee4825d1a1c673be0 (patch) | |
| tree | 447a6b28d527a46eb0a1ec2cacc8f4641aded023 /src/emu/debug/debugcpu.c | |
| parent | 6d7ed9b5739db3476f5c5d6d21ab26a16b8d99db (diff) | |
Cleanups and version bump.mame0127u5
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index a8a868ca587..54f95a4fa09 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -434,7 +434,7 @@ void debug_cpu_start_hook(running_machine *machine, int cpunum, attotime endtime debug_view_update_all(); global.last_periodic_update_time = osd_ticks(); } - + /* check for pending breaks */ else if (info == global.breakcpu) { @@ -944,13 +944,13 @@ void debug_cpu_halt_on_next_instruction(running_machine *machine, int cpunum, co { debug_cpu_info *info; va_list arg; - + /* pick the best CPU to land on */ if (cpunum != -1) info = &global.cpuinfo[cpunum]; else if (global.visiblecpu != NULL) info = global.visiblecpu; - else + else info = global.livecpu; /* if something is pending on this CPU already, ignore this request */ |
