From ee896058793c8131494b257fa539b9fd5cc35619 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 14 Jan 2018 18:35:32 -0500 Subject: [PATCH] lc8670: Fix disassembler to make it not completely broken --- src/devices/cpu/lc8670/lc8670dsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)