mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 03:59:37 +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
|
begin
|
||||||
for i:=1 to shuffle^.len do
|
for i:=1 to shuffle^.len do
|
||||||
begin
|
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;
|
exit;
|
||||||
end;
|
end;
|
||||||
realshuffle:=false;
|
realshuffle:=false;
|
||||||
@ -656,7 +656,7 @@ implementation
|
|||||||
if shuffle.len=0 then
|
if shuffle.len=0 then
|
||||||
exit;
|
exit;
|
||||||
for i:=1 to shuffle.len do
|
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;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user