Mercurial > repos > blastem
diff 68kinst.c @ 154:4791c0204410
Small fix for bit instructions
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 04 Jan 2013 22:51:01 -0800 |
parents | 18796a3b0fe2 |
children | 5559616e6bd8 |
line wrap: on
line diff
--- a/68kinst.c Fri Jan 04 21:47:09 2013 -0800 +++ b/68kinst.c Fri Jan 04 22:51:01 2013 -0800 @@ -727,10 +727,12 @@ decoded->variant = VAR_WORD; immed = *(++istream); immed = sign_extend16(immed); +#ifdef M68020 } else if (immed == 0xFF) { decoded->variant = VAR_LONG; immed = *(++istream) << 16; immed |= *(++istream); +#endif } else { decoded->variant = VAR_BYTE; immed = sign_extend8(immed);