x64: fix parameter names of WriteModRM()

This commit is contained in:
Tillmann Karras 2014-01-25 17:33:31 +01:00
parent cdfe58f7ed
commit b34fe2b8f1
1 changed files with 2 additions and 2 deletions

View File

@ -112,9 +112,9 @@ const u8 *XEmitter::AlignCodePage()
return code;
}
void XEmitter::WriteModRM(int mod, int rm, int reg)
void XEmitter::WriteModRM(int mod, int reg, int rm)
{
Write8((u8)((mod << 6) | ((rm & 7) << 3) | (reg & 7)));
Write8((u8)((mod << 6) | ((reg & 7) << 3) | (rm & 7)));
}
void XEmitter::WriteSIB(int scale, int index, int base)