aboutsummaryrefslogtreecommitdiff
path: root/linux-user/vm86.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-14 22:47:15 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-14 22:47:15 +0000
commit3ebcc707d20643e9fefa24a4396de577b1163755 (patch)
tree4a4bb791be1b4a03ce2aad65bebae7526c9fc221 /linux-user/vm86.c
parent7775e9ecc264eb3780901a10d786391b5ae955b7 (diff)
removed invalid eip update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@172 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/vm86.c')
-rw-r--r--linux-user/vm86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-user/vm86.c b/linux-user/vm86.c
index a958c624d7..e4f9b85c84 100644
--- a/linux-user/vm86.c
+++ b/linux-user/vm86.c
@@ -292,7 +292,6 @@ void handle_vm86_fault(CPUX86State *env)
/* VM86 mode */
switch(opcode) {
case 0x9c: /* pushf */
- ADD16(env->eip, 2);
if (data32) {
vm_putl(ssp, sp - 4, get_vflags(env));
ADD16(env->regs[R_ESP], -4);