summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m6502.c
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2012-12-17 23:11:41 +0000
committer Olivier Galibert <galibert@pobox.com>2012-12-17 23:11:41 +0000
commit364210795df44c280ad3455a82ba51d169bcf768 (patch)
tree8ef303163b6a7ded29f72e8555106763d84a5ce3 /src/emu/cpu/m6502/m6502.c
parent98bc7de20819d0f286c0968b22d6b0d492027b59 (diff)
Cleanup (nw)
Diffstat (limited to 'src/emu/cpu/m6502/m6502.c')
-rw-r--r--src/emu/cpu/m6502/m6502.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m6502/m6502.c b/src/emu/cpu/m6502/m6502.c
index 5cdd7b07acc..a76a0621a26 100644
--- a/src/emu/cpu/m6502/m6502.c
+++ b/src/emu/cpu/m6502/m6502.c
@@ -483,7 +483,7 @@ offs_t m6502_device::disassemble_generic(char *buffer, offs_t pc, const UINT8 *o
UINT32 flags = e.flags | DASMFLAG_SUPPORTED;
buffer += sprintf(buffer, "%s", e.opcode);
- switch(table[oprom[0]].mode) {
+ switch(e.mode) {
case DASM_non:
flags |= 1;
break;
@@ -603,7 +603,7 @@ offs_t m6502_device::disassemble_generic(char *buffer, offs_t pc, const UINT8 *o
break;
default:
- fprintf(stderr, "Unhandled dasm mode %d\n", table[oprom[0]].mode);
+ fprintf(stderr, "Unhandled dasm mode %d\n", e.mode);
abort();
}
return flags;