Mercurial > repos > blastem
diff 68kinst.c @ 197:7c227a8ec53d
Add instruction address logging to translator and support for reading an address log to the disassembler
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 17 Jan 2013 20:00:07 -0800 |
parents | ebcbdd1c4cc8 |
children | 3457dc6fd558 |
line wrap: on
line diff
--- a/68kinst.c Thu Jan 17 08:19:29 2013 -0800 +++ b/68kinst.c Thu Jan 17 20:00:07 2013 -0800 @@ -448,7 +448,7 @@ return start+1; } istream = m68k_decode_op_ex(istream, opmode, reg, decoded->extra.size, &(decoded->dst)); - if (!istream) { + if (!istream || decoded->dst.addr_mode == MODE_IMMEDIATE) { decoded->op = M68K_INVALID; return start+1; }