summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2013-03-24 03:32:41 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2013-03-24 03:32:41 +0000
commit8b9423547ae6c8e309fc94ab10046f2cae14ffd1 (patch)
tree3cecb6282e73f89fe762b94298b0c2c90f61dc6d /src/emu/cpu/m6502
parent102a582f0886271fed3abb6e3e2c94f86ece2a7e (diff)
m740: fix branch target disasm for branch-on-bit instructions (nw)
Diffstat (limited to 'src/emu/cpu/m6502')
-rw-r--r--src/emu/cpu/m6502/m6502.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/m6502/m6502.c b/src/emu/cpu/m6502/m6502.c
index f0bb9c9fec8..bdcf072142b 100644
--- a/src/emu/cpu/m6502/m6502.c
+++ b/src/emu/cpu/m6502/m6502.c
@@ -621,7 +621,7 @@ offs_t m6502_device::disassemble_generic(char *buffer, offs_t pc, const UINT8 *o
break;
case DASM_bzr:
- sprintf(buffer, " %d, $%02x, $%04x", (opram[0] >> 5) & 7, opram[1], (pc & 0xf0000) | UINT16(pc + 1 + INT8(opram[2])));
+ sprintf(buffer, " %d, $%02x, $%04x", (opram[0] >> 5) & 7, opram[1], (pc & 0xf0000) | UINT16(pc + 3 + INT8(opram[2])));
flags |= 3;
break;