summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-01-14 18:35:32 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-01-14 18:35:34 -0500
commitee896058793c8131494b257fa539b9fd5cc35619 (patch)
tree3153dcfe38d95e7da57a563a09f2ed2e1cb5559a
parent1077a79460cff6f90e08cd4d9ae33ef495da4a18 (diff)
lc8670: Fix disassembler to make it not completely broken
-rw-r--r--src/devices/cpu/lc8670/lc8670dsm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/lc8670/lc8670dsm.cpp b/src/devices/cpu/lc8670/lc8670dsm.cpp
index 540b4d55377..bdf8a88e8cc 100644
--- a/src/devices/cpu/lc8670/lc8670dsm.cpp
+++ b/src/devices/cpu/lc8670/lc8670dsm.cpp
@@ -160,7 +160,7 @@ offs_t lc8670_disassembler::disassemble(std::ostream &stream, offs_t pc, const d
offs_t pos = pc;
char arg1[16], arg2[16];
- uint8_t op = opcodes.r8(pos);
+ uint8_t op = opcodes.r8(pos++);
int idx;
switch (op & 0x0f)