mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 16:28:24 +02:00
* fixed shuffle helpers
git-svn-id: trunk@3856 -
This commit is contained in:
parent
dbaa57c417
commit
bbeb8c14b1
@ -635,7 +635,7 @@ implementation
|
||||
begin
|
||||
for i:=1 to shuffle^.len do
|
||||
begin
|
||||
if (shuffle^.shuffles[i] and $f)<>((shuffle^.shuffles[i] and $f0) shr 8) then
|
||||
if (shuffle^.shuffles[i] and $f)<>((shuffle^.shuffles[i] and $f0) shr 4) then
|
||||
exit;
|
||||
end;
|
||||
realshuffle:=false;
|
||||
@ -656,7 +656,7 @@ implementation
|
||||
if shuffle.len=0 then
|
||||
exit;
|
||||
for i:=1 to shuffle.len do
|
||||
shuffle.shuffles[i]:=(shuffle.shuffles[i] and $f0) or ((shuffle.shuffles[i] and $f0) shr 8);
|
||||
shuffle.shuffles[i]:=(shuffle.shuffles[i] and $f0) or ((shuffle.shuffles[i] and $f0) shr 4);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user