Skip to content

Commit

Permalink
fix only xmm0 being changed by a changeregonbp bp
Browse files Browse the repository at this point in the history
  • Loading branch information
cheat-engine committed Dec 4, 2021
1 parent 351b2ef commit 4c63a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cheat Engine/debugeventhandler.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c63a78

Please sign in to comment.