Author: aandrejevic
Date: Thu Nov 21 04:07:15 2013
New Revision: 61063

URL: http://svn.reactos.org/svn/reactos?rev=61063&view=rev
Log:
[FAST486]
Put the conditional expression in parenthesis so that the addition happens 
after it.


Modified:
    branches/ntvdm/lib/fast486/opcodes.c

Modified: branches/ntvdm/lib/fast486/opcodes.c
URL: 
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/opcodes.c?rev=61063&r1=61062&r2=61063&view=diff
==============================================================================
--- branches/ntvdm/lib/fast486/opcodes.c        [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/opcodes.c        [iso-8859-1] Thu Nov 21 
04:07:15 2013
@@ -4919,8 +4919,8 @@
     /* Read a byte from DS:[(E)BX + AL] */
     if (!Fast486ReadMemory(State,
                            FAST486_REG_DS,
-                           AddressSize ? 
State->GeneralRegs[FAST486_REG_EBX].Long
-                                       : 
State->GeneralRegs[FAST486_REG_EBX].LowWord
+                           (AddressSize ? 
State->GeneralRegs[FAST486_REG_EBX].Long
+                                        : 
State->GeneralRegs[FAST486_REG_EBX].LowWord)
                            + State->GeneralRegs[FAST486_REG_EAX].LowByte,
                            FALSE,
                            &Value,


Reply via email to