From e91eb4007cadfeccef7dd26206632495f18e146a Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 20 Apr 2008 02:38:35 +0000 Subject: Flipped the damn mem_mask. It is no longer inverted when passed to read/write handlers. Updated all drivers accordingly. Hope I didn't miss anything important! Blame OG and smf for goading me into it. :) --- src/emu/debug/debugcpu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/emu/debug/debugcpu.c') diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 7ff14e6e603..e2d60e79ad3 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -1320,7 +1320,7 @@ static void check_watchpoints(int cpunum, int spacenum, int type, offs_t address within_debugger_code = TRUE; /* adjust address, size & value_to_write based on mem_mask. */ - if( mem_mask != 0 ) + if (mem_mask != 0) { const debug_cpu_info *info = &debug_cpuinfo[cpunum]; int address_offset = 0; @@ -1340,13 +1340,9 @@ static void check_watchpoints(int cpunum, int spacenum, int type, offs_t address } if (info->endianness == CPU_IS_LE) - { address += address_offset; - } else - { address += bus_size - size - address_offset; - } } /* if we are a write watchpoint, stash the value that will be written */ -- cgit v1.2.3