From ea05d920b7d622e42ab3a18ad794ba88cc61b471 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Mon, 18 Aug 2025 03:29:50 +0200 Subject: [PATCH] Fix formatting --- TitanEngine/TitanEngine.Debugger.Context.cpp | 22 +++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/TitanEngine/TitanEngine.Debugger.Context.cpp b/TitanEngine/TitanEngine.Debugger.Context.cpp index 33fa93a..9c5122b 100644 --- a/TitanEngine/TitanEngine.Debugger.Context.cpp +++ b/TitanEngine/TitanEngine.Debugger.Context.cpp @@ -951,15 +951,16 @@ __declspec(dllexport) bool TITCALL SetAVXContext(HANDLE hActiveThread, TITAN_ENG if(Success == FALSE) return false; - if (_SetXStateFeaturesMask(Context, XSTATE_MASK_AVX) == FALSE) { - if (_SetXStateFeaturesMask(Context, XSTATE_MASK_LEGACY_SSE) == FALSE) - return false; - } + if(_SetXStateFeaturesMask(Context, XSTATE_MASK_AVX) == FALSE) + { + if(_SetXStateFeaturesMask(Context, XSTATE_MASK_LEGACY_SSE) == FALSE) + return false; + } if(GetThreadContext(hActiveThread, Context) == FALSE) return false; - DWORD64 FeatureMask; + DWORD64 FeatureMask; if(_GetXStateFeaturesMask(Context, &FeatureMask) == FALSE) return false; @@ -1010,15 +1011,16 @@ __declspec(dllexport) bool TITCALL GetAVXContext(HANDLE hActiveThread, TITAN_ENG if(Success == FALSE) return false; - if (_SetXStateFeaturesMask(Context, XSTATE_MASK_AVX) == FALSE) { - if (_SetXStateFeaturesMask(Context, XSTATE_MASK_LEGACY_SSE) == FALSE) - return false; - } + if(_SetXStateFeaturesMask(Context, XSTATE_MASK_AVX) == FALSE) + { + if(_SetXStateFeaturesMask(Context, XSTATE_MASK_LEGACY_SSE) == FALSE) + return false; + } if(GetThreadContext(hActiveThread, Context) == FALSE) return false; - DWORD64 FeatureMask; + DWORD64 FeatureMask; if(_GetXStateFeaturesMask(Context, &FeatureMask) == FALSE) return false;