[FAST486]

Put the conditional expression in parenthesis so that the addition happens after it.


svn path=/branches/ntvdm/; revision=61063
This commit is contained in:
Aleksandar Andrejevic 2013-11-21 04:07:15 +00:00
parent 37b16fec31
commit 9c999826e1

View file

@ -4919,8 +4919,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeXlat)
/* 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,