From 4c63a78cf75b96e53b4f3d8a317dbecf9dbc9492 Mon Sep 17 00:00:00 2001 From: Dark Byte Date: Sat, 4 Dec 2021 10:50:51 +0100 Subject: [PATCH] fix only xmm0 being changed by a changeregonbp bp --- Cheat Engine/debugeventhandler.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cheat Engine/debugeventhandler.pas b/Cheat Engine/debugeventhandler.pas index 215204699d..4bb0535ec4 100755 --- a/Cheat Engine/debugeventhandler.pas +++ b/Cheat Engine/debugeventhandler.pas @@ -529,7 +529,7 @@ procedure TDebugThreadHandler.ModifyRegisters(bp: PBreakpoint); for i:=0 to {$ifdef cpu64}15{$else}7{$endif} do begin //get the nibble for the xmm register - b:=(bp.changereg.change_XMM shl (i*4)) and $f; + b:=(bp.changereg.change_XMM shr (i*4)) and $f; if b>0 then //bits are set begin