[FAST486]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Mon, 24 Feb 2014 03:53:02 +0000 (03:53 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Mon, 24 Feb 2014 03:53:02 +0000 (03:53 +0000)
Add missing returns after calls to Fast486Exception.

svn path=/branches/ntvdm/; revision=62316

lib/fast486/opgroups.c

index 0e560d5..264fa66 100644 (file)
@@ -1728,6 +1728,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
                 || State->Flags.Vm)
             {
                 Fast486Exception(State, FAST486_EXCEPTION_UD);
+                return FALSE;
             }
 
             return Fast486WriteModrmWordOperands(State,
@@ -1744,6 +1745,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
                 || State->Flags.Vm)
             {
                 Fast486Exception(State, FAST486_EXCEPTION_UD);
+                return FALSE;
             }
 
             return Fast486WriteModrmWordOperands(State,
@@ -1763,6 +1765,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
                 || State->Flags.Vm)
             {
                 Fast486Exception(State, FAST486_EXCEPTION_UD);
+                return FALSE;
             }
 
             /* This is a privileged instruction */
@@ -1838,6 +1841,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
                 || State->Flags.Vm)
             {
                 Fast486Exception(State, FAST486_EXCEPTION_UD);
+                return FALSE;
             }
 
             /* This is a privileged instruction */
@@ -1915,6 +1919,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
                 || State->Flags.Vm)
             {
                 Fast486Exception(State, FAST486_EXCEPTION_UD);
+                return FALSE;
             }
 
             /* This is a privileged instruction */