From: Aleksandar Andrejevic Date: Tue, 25 Feb 2014 00:26:00 +0000 (+0000) Subject: [FAST486] X-Git-Tag: backups/0.3.17@66124~1365^2~64 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=c3e55a625c27db41927dc5c1d9dbc6abacc3830a [FAST486] Actually, we should return FALSE if any exception occurred... svn path=/branches/ntvdm/; revision=62325 --- 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;