mirror of https://github.com/x64dbg/TitanEngine
fixed a bug with setting the AVX context overwriting the other registers with zeroes
This commit is contained in:
parent
9ab24a8d8f
commit
aacd8c2eb8
|
|
@ -958,6 +958,9 @@ __declspec(dllexport) bool TITCALL SetAVXContext(HANDLE hActiveThread, TITAN_ENG
|
|||
if(_SetXStateFeaturesMask(Context, XSTATE_MASK_AVX) == FALSE)
|
||||
return false;
|
||||
|
||||
if(GetThreadContext(hActiveThread, Context) == FALSE)
|
||||
return false;
|
||||
|
||||
if(_GetXStateFeaturesMask(Context, &FeatureMask) == FALSE)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue