diff options
Diffstat (limited to 'disasm.c')
-rw-r--r-- | disasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,8 +31,8 @@ void disasm(struct sux *cpu, uint64_t *operands, uint8_t lines, uint8_t opcode, case ZMX: case ZMY: switch (optype[opcode]) { - case ZMX: tmpaddr = address - cpu->x[thread]; break; - case ZMY: tmpaddr = address - cpu->y[thread]; break; + case ZMX: tmpaddr = address - cpu->x; break; + case ZMY: tmpaddr = address - cpu->y; break; } switch ((prefix & 0x0C) >> 2) { case 3: wprintw(scr, "%s%s $%08X%s\r" , op, postfix, tmpaddr, (optype[opcode] == ZM) ? "" : ((optype[opcode] == ZMX) ? ", x" : ", y")); break; |