summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugvw.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-14 21:34:02 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-14 21:34:02 +0000
commit04fbf4f825ba5b1cc58394319278fd645ebbae61 (patch)
treea9a8a970a90c6574fa3e32fe60ae73926a543674 /src/emu/debug/debugvw.c
parenteb83e4e9b8ac6a6bf849efa2e3804dd1134e581b (diff)
Removed unnecessary masking in disassembly view.
Changed console subview computations to leave the registers portion fixed.
Diffstat (limited to 'src/emu/debug/debugvw.c')
-rw-r--r--src/emu/debug/debugvw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/debugvw.c b/src/emu/debug/debugvw.c
index 54dfe774803..cd9b05698bf 100644
--- a/src/emu/debug/debugvw.c
+++ b/src/emu/debug/debugvw.c
@@ -1876,7 +1876,7 @@ static int disasm_view_recompute(debug_view *view, offs_t pc, int startline, int
int numbytes = 0;
/* convert PC to a byte offset */
- pcbyte = memory_address_to_byte(space, pc) & space->bytemask;
+ pcbyte = memory_address_to_byte(space, pc);
/* save a copy of the previous line as a backup if we're only doing one line */
if (lines == 1)
@@ -1992,7 +1992,7 @@ static void disasm_view_update(debug_view *view)
exprerr = expression_execute(dasmdata->expression.parsed, &result);
if (exprerr == EXPRERR_NONE && result != dasmdata->expression.result)
{
- offs_t resultbyte = memory_address_to_byte(space, result) & space->bytemask;
+ offs_t resultbyte = memory_address_to_byte(space, result);
/* update the result */
dasmdata->expression.result = result;
@@ -2100,7 +2100,7 @@ recompute:
{
const cpu_debug_data *cpuinfo = cpu_get_debug_data(space->cpu);
for (bp = cpuinfo->bplist; bp != NULL; bp = bp->next)
- if (dasmdata->byteaddress[effrow] == (memory_address_to_byte(space, bp->address) & space->bytemask))
+ if (dasmdata->byteaddress[effrow] == memory_address_to_byte(space, bp->address))
attrib = DCA_CHANGED;
}