From c3e55a625c27db41927dc5c1d9dbc6abacc3830a Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Tue, 25 Feb 2014 00:26:00 +0000 Subject: [PATCH] [FAST486] Actually, we should return FALSE if any exception occurred... svn path=/branches/ntvdm/; revision=62325 --- lib/fast486/opcodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fast486/opcodes.c b/lib/fast486/opcodes.c index 617e3764ae6..3dffdaacc18 100644 --- a/lib/fast486/opcodes.c +++ b/lib/fast486/opcodes.c @@ -4244,7 +4244,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodePushFlags) { /* Call the VM86 monitor */ Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_GP, 0); - return TRUE; + return FALSE; } /* Push the flags */ @@ -4273,7 +4273,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodePopFlags) { /* Call the VM86 monitor */ Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_GP, 0); - return TRUE; + return FALSE; } State->Flags.Cf = NewFlags.Cf; -- 2.17.1