From 9c999826e19825ce30a049f76dd4338733e4fdc7 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Thu, 21 Nov 2013 04:07:15 +0000 Subject: [PATCH] [FAST486] Put the conditional expression in parenthesis so that the addition happens after it. svn path=/branches/ntvdm/; revision=61063 --- 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 b982996e967..11796a28c96 100644 --- a/lib/fast486/opcodes.c +++ b/lib/fast486/opcodes.c @@ -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,