mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[FAST486]
Fix previous fix. svn path=/branches/ntvdm/; revision=60989
This commit is contained in:
parent
9c66549845
commit
14a31007fc
1 changed files with 2 additions and 2 deletions
|
@ -5890,12 +5890,12 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeLods)
|
||||||
if (OperandSize)
|
if (OperandSize)
|
||||||
{
|
{
|
||||||
State->GeneralRegs[FAST486_REG_ECX].Long = 0;
|
State->GeneralRegs[FAST486_REG_ECX].Long = 0;
|
||||||
State->GeneralRegs[FAST486_REG_ESI].Long += Count - 1;
|
State->GeneralRegs[FAST486_REG_ESI].Long += (Count - 1) * DataSize;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
State->GeneralRegs[FAST486_REG_ECX].LowWord = 0;
|
State->GeneralRegs[FAST486_REG_ECX].LowWord = 0;
|
||||||
State->GeneralRegs[FAST486_REG_ESI].LowWord += Count - 1;
|
State->GeneralRegs[FAST486_REG_ESI].LowWord += (Count - 1) * DataSize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue