Save UESP instead of ESP where UESP defined.
This commit is contained in:
parent
d0d8b5bfb1
commit
93be53744e
|
@ -361,7 +361,9 @@ typedef struct
|
|||
#define EFL_sig(context) ((context)->uc_mcontext.gregs[EFL])
|
||||
|
||||
#define EIP_sig(context) ((context)->uc_mcontext.gregs[EIP])
|
||||
#ifdef R_ESP
|
||||
#ifdef UESP
|
||||
#define ESP_sig(context) ((context)->uc_mcontext.gregs[UESP])
|
||||
#elif defined(R_ESP)
|
||||
#define ESP_sig(context) ((context)->uc_mcontext.gregs[R_ESP])
|
||||
#else
|
||||
#define ESP_sig(context) ((context)->uc_mcontext.gregs[ESP])
|
||||
|
|
Loading…
Reference in New Issue