Commit fd836909df6cfbb046a6ca0eea92ca7402a83f4e

Authored by bellard
1 parent 289e09e7

VM86 EIP masking fix (aka NT5 install fix) (Mike Nordell)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@719 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-i386/helper.c
... ... @@ -1727,7 +1727,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend)
1727 1727 load_seg_vm(R_FS, new_fs & 0xffff);
1728 1728 load_seg_vm(R_GS, new_gs & 0xffff);
1729 1729  
1730   - env->eip = new_eip;
  1730 + env->eip = new_eip & 0xffff;
1731 1731 ESP = new_esp;
1732 1732 }
1733 1733  
... ...