diff --git a/TitanEngine/TitanEngine.Debugger.Context.cpp b/TitanEngine/TitanEngine.Debugger.Context.cpp index 4fa341c..f0c14c7 100644 --- a/TitanEngine/TitanEngine.Debugger.Context.cpp +++ b/TitanEngine/TitanEngine.Debugger.Context.cpp @@ -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;