summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debugger.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-10 07:42:09 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-10 07:42:09 +0000
commit92f305310513e310dcca7f5b1c3fe7ec2b197775 (patch)
tree26a4873c3e46ad13db9d1a92de2be5179754d95b /src/emu/debugger.h
parent7c2bd582be58669e84d3bfd2c927401641a7fa80 (diff)
Major cpuintrf changes:
* added a set of cpu_* calls which accept a CPU device object; these are now the preferred means of manipulating a CPU * removed the cpunum_* calls; added an array of cpu[] to the running_machine object; converted all existing cpunum_* calls to cpu_* calls, pulling the CPU device object from the new array in the running_machine * removed the activecpu_* calls; added an activecpu member to the running_machine object; converted all existing activecpu_* calls to cpu_* calls, pulling the active CPU device object from the running_machine * changed cpuintrf_push_context() to cpu_push_context(), taking a CPU object pointer; changed cpuintrf_pop_context() to cpu_pop_context(); eventually these will go away * many other similar changes moving toward a model where all CPU references are done by the CPU object and not by index
Diffstat (limited to 'src/emu/debugger.h')
-rw-r--r--src/emu/debugger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debugger.h b/src/emu/debugger.h
index 08312977dc0..53205067336 100644
--- a/src/emu/debugger.h
+++ b/src/emu/debugger.h
@@ -82,7 +82,7 @@ INLINE void debugger_stop_cpu_hook(running_machine *machine, int cpunum)
INLINE void debugger_break(running_machine *machine)
{
if ((machine->debug_flags & DEBUG_FLAG_ENABLED) != 0)
- debug_cpu_halt_on_next_instruction(machine, cpu_getactivecpu(), "Internal breakpoint\n");
+ debug_cpu_halt_on_next_instruction(machine, cpunum_get_active(), "Internal breakpoint\n");
}