Mercurial > repos > blastem
diff 68kinst.c @ 325:8db584faac4b
Fixed decoding of CHK destination
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 12 May 2013 01:34:29 -0700 |
parents | 3457dc6fd558 |
children | 00d5a2b532f4 |
line wrap: on
line diff
--- a/68kinst.c Sun May 12 01:34:17 2013 -0700 +++ b/68kinst.c Sun May 12 01:34:29 2013 -0700 @@ -480,7 +480,7 @@ #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;