summaryrefslogtreecommitdiff
path: root/68kinst.c
diff options
context:
space:
mode:
Diffstat (limited to '68kinst.c')
-rw-r--r--68kinst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/68kinst.c b/68kinst.c
index 699f112..8417c13 100644
--- a/68kinst.c
+++ b/68kinst.c
@@ -480,7 +480,7 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address)
#endif
}
decoded->dst.addr_mode = MODE_REG;
- decoded->dst.addr_mode = m68k_reg_quick_field(*istream);
+ decoded->dst.params.regs.pri = m68k_reg_quick_field(*istream);
istream = m68k_decode_op(istream, decoded->extra.size, &(decoded->src));
if (!istream) {
decoded->op = M68K_INVALID;