diff options
| author | 2008-02-02 08:57:39 +0000 | |
|---|---|---|
| committer | 2008-02-02 08:57:39 +0000 | |
| commit | aa16ee779d83c827b3c0b2c848b42321266fdffc (patch) | |
| tree | f70c01e60e1b0ca9eb78d733f528568556448144 /src/emu/debug/debugcpu.c | |
| parent | 2df389a77d21a027c3c3cbddceb4a225003fdf04 (diff) | |
Changed debugger-related code to be based off a new makefile define (DEBUGGER) which sets
a new compile-time define (ENABLE_DEBUGGER). This means that MAME_DEBUG no longer means
"enable debugger", it simply enables debugging features such as assertions and debug code
in drivers.
Also removed the various levels of opbase protection in memory.h and always just turned
on full bounds checking.
Fixed build break due to missing ampoker.lay -> ampoker2.lay renaming.
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 0c190ec1c53..0bda342cc93 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -706,10 +706,9 @@ static void set_cpu_reg(UINT32 ref, UINT64 value) before executing each instruction -------------------------------------------------*/ -void mame_debug_hook(void) +void mame_debug_hook(offs_t curpc) { int cpunum = cpu_getactivecpu(); - offs_t curpc = activecpu_get_pc(); debug_cpu_info *info = &debug_cpuinfo[cpunum]; /* update the history */ |
