mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user