[FAST486]: Fix OUT instruction (IoWrite instead of IoRead).

svn path=/branches/ntvdm/; revision=60893
This commit is contained in:
Hermès Bélusca-Maïto 2013-11-09 14:15:39 +00:00
parent 43ee57f2f7
commit aab2a03dc2

View file

@ -1041,7 +1041,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeOut)
ULONG Data = State->GeneralRegs[FAST486_REG_EAX].Long;
/* Write a dword to the I/O port */
State->IoReadCallback(State, Port, &Data, 1, sizeof(ULONG));
State->IoWriteCallback(State, Port, &Data, 1, sizeof(ULONG));
}
else
{