From 8bed8910117b00ed027c80f3a0008378aa55a333 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Aug 2016 10:25:44 -0400 Subject: [PATCH] x64 emitter: Fix swapped parameter names --- src/common/x64/emitter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/x64/emitter.h b/src/common/x64/emitter.h index 9d2090ba..763ffb3b 100644 --- a/src/common/x64/emitter.h +++ b/src/common/x64/emitter.h @@ -367,7 +367,7 @@ public: XEmitter(u8 *code_ptr) { code = code_ptr; flags_locked = false; } virtual ~XEmitter() {} - void WriteModRM(int mod, int rm, int reg); + void WriteModRM(int mod, int reg, int rm); void WriteSIB(int scale, int index, int base); void SetCodePtr(u8 *ptr);