Commit fd836909 authored by bellard's avatar bellard
Browse files

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
parent 289e09e7
......@@ -1727,7 +1727,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend)
load_seg_vm(R_FS, new_fs & 0xffff);
load_seg_vm(R_GS, new_gs & 0xffff);
env->eip = new_eip;
env->eip = new_eip & 0xffff;
ESP = new_esp;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment