mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 11:08:45 +00:00
ntoskrnl.exe: Fix SIB_INDEX() to use REX_X, not REX_R.
Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
706145c563
commit
f8220cbe93
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(int);
|
|||
#define REGMODRM_RM( regmodrm, rex ) (((regmodrm) & 7) | (((rex) & REX_B) ? 8 : 0))
|
||||
|
||||
#define SIB_SS( sib, rex ) ((sib) >> 6)
|
||||
#define SIB_INDEX( sib, rex ) (((sib) >> 3) & 7) | (((rex) & REX_R) ? 8 : 0)
|
||||
#define SIB_INDEX( sib, rex ) (((sib) >> 3) & 7) | (((rex) & REX_X) ? 8 : 0)
|
||||
#define SIB_BASE( sib, rex ) (((sib) & 7) | (((rex) & REX_B) ? 8 : 0))
|
||||
|
||||
/* keep in sync with dlls/ntdll/thread.c:thread_init */
|
||||
|
|
Loading…
Reference in a new issue