summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/mips/mips3com.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-02-02 08:57:39 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-02-02 08:57:39 +0000
commitaa16ee779d83c827b3c0b2c848b42321266fdffc (patch)
treef70c01e60e1b0ca9eb78d733f528568556448144 /src/emu/cpu/mips/mips3com.c
parent2df389a77d21a027c3c3cbddceb4a225003fdf04 (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/cpu/mips/mips3com.c')
-rw-r--r--src/emu/cpu/mips/mips3com.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/mips/mips3com.c b/src/emu/cpu/mips/mips3com.c
index 49a74e2056a..79330a288d3 100644
--- a/src/emu/cpu/mips/mips3com.c
+++ b/src/emu/cpu/mips/mips3com.c
@@ -156,7 +156,7 @@ void mips3com_reset(mips3_state *mips)
CPU
-------------------------------------------------*/
-#ifdef MAME_DEBUG
+#ifdef ENABLE_DEBUGGER
offs_t mips3com_dasm(mips3_state *mips, char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram)
{
extern unsigned dasmmips3(char *, unsigned, UINT32);
@@ -167,7 +167,7 @@ offs_t mips3com_dasm(mips3_state *mips, char *buffer, offs_t pc, const UINT8 *op
op = LITTLE_ENDIANIZE_INT32(op);
return dasmmips3(buffer, pc, op);
}
-#endif /* MAME_DEBUG */
+#endif /* ENABLE_DEBUGGER */