diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2014-01-25 17:33:31 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2014-01-25 17:36:09 +0100 |
| commit | b34fe2b8f1915d5ec46db26362d2e59062e6c240 (patch) | |
| tree | f8ee03f13a10d7be31c3edfdb42dfe15aa5ff640 /Source/Core | |
| parent | cdfe58f7ede09ff11b13adf5a911da5a50927870 (diff) | |
x64: fix parameter names of WriteModRM()
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/x64Emitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp index 05540ba4a8..76e235ebcd 100644 --- a/Source/Core/Common/x64Emitter.cpp +++ b/Source/Core/Common/x64Emitter.cpp @@ -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) |
