summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpuexec.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-20 09:50:31 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-20 09:50:31 +0000
commit371cd0a56d2f7a7ed36dae7ed58e7b3076afa2c9 (patch)
treefb8824d1049becf4e09145d8d50cf775defa521b /src/emu/cpuexec.c
parente9b33a8462dd5c6e0f15e4c589db3f96b43f1b4b (diff)
Another big one.
Moved memory global state into a struct hanging off of the machine. Updated almost all memory APIs to take an address_space * where appropriate, and updated all callers. Changed memory internals to use address spaces where appropriate. Changed accessors to point to the memory_* functions instead of the address space-specific functions. Improved internal handling of watchpoints. Added cputag_* functions: cputag_reset(), cputag_get_index(), cputag_get_address_space(). These just expand via macros to an initial fetch of the CPU via cputag_get_cpu() followed by the standard CPU call. Added debugger_interrupt_hook() and debugger_exception_hook() calls which intelligently look at the debugger flags before calling. Did minimal cleanup of debugger, mainly moving CPU-specific data to hang off of the CPU classdata for more direct access.
Diffstat (limited to 'src/emu/cpuexec.c')
-rw-r--r--src/emu/cpuexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpuexec.c b/src/emu/cpuexec.c
index 1beb9f7440b..65bc2bb13a4 100644
--- a/src/emu/cpuexec.c
+++ b/src/emu/cpuexec.c
@@ -1359,7 +1359,7 @@ static IRQ_CALLBACK( standard_irq_callback )
vector = (*classdata->driver_irq)(device, irqline);
/* notify the debugger */
- debug_cpu_interrupt_hook(device->machine, classdata->header.index, irqline);
+ debugger_interrupt_hook(device->machine, classdata->header.index, irqline);
/* otherwise, just return the current vector */
return vector;