Mercurial > repos > blastem
changeset 219:8d3c16071559
Fix overflow flag behavior for lsl/lsr/asr
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 20 Apr 2013 14:36:41 -0700 |
parents | 1abf8e967b33 |
children | cb72780e17b1 |
files | m68k_to_x86.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m68k_to_x86.c Sat Apr 20 00:36:50 2013 -0700 +++ b/m68k_to_x86.c Sat Apr 20 14:36:41 2013 -0700 @@ -2757,7 +2757,7 @@ if (z_off) { *z_off = dst - (z_off + 1); } - if (inst->op != M68K_ASL && inst->src.addr_mode != MODE_UNUSED && !(src_op->mode == MODE_IMMED && src_op->disp == 1)) { + if (inst->op != M68K_ASL) { dst = mov_ir(dst, 0, FLAG_V, SZ_B); } if (inst->src.addr_mode == MODE_UNUSED) {