[SOFT386]

Fix a bad call to RtlFillMemory.


svn path=/branches/ntvdm/; revision=60618
This commit is contained in:
Aleksandar Andrejevic 2013-10-11 19:24:58 +00:00
parent 37059f6dfc
commit 47390630ed

View file

@ -6135,7 +6135,7 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeStos)
/* Fill the memory block with the data */ /* Fill the memory block with the data */
if (DataSize == sizeof(UCHAR)) if (DataSize == sizeof(UCHAR))
{ {
RtlFillMemory(Block, State->GeneralRegs[SOFT386_REG_EAX].LowByte, sizeof(Block)); RtlFillMemory(Block, sizeof(Block), State->GeneralRegs[SOFT386_REG_EAX].LowByte);
} }
else else
{ {