summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m6502.c
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2015-01-28 13:23:46 +0100
committer Olivier Galibert <galibert@pobox.com>2015-01-28 13:23:08 +0100
commit56d51fd23bb02bac5b5724bb73ee564460a39acb (patch)
treeabc81fbd77c6e6186beeb9e57e43eed1f495825e /src/emu/cpu/m6502/m6502.c
parent1cab2192d7240f53a5196a2b52715533dfc81544 (diff)
m65ce02: Generalize Kale's findings [O. Galibert]
Diffstat (limited to 'src/emu/cpu/m6502/m6502.c')
-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 062560cdbc8..9c35ec6da61 100644
--- a/src/emu/cpu/m6502/m6502.c
+++ b/src/emu/cpu/m6502/m6502.c
@@ -579,7 +579,7 @@ offs_t m6502_device::disassemble_generic(char *buffer, offs_t pc, const UINT8 *o
break;
case DASM_rw2:
- sprintf(buffer, " $%04x", (pc & 0xf0000) | UINT16(pc + 3 + INT16((opram[2] << 8) | opram[1])));
+ sprintf(buffer, " $%04x", (pc & 0xf0000) | UINT16(pc + 2 + INT16((opram[2] << 8) | opram[1])));
flags |= 3;
break;