Browse Source

+ readd Randomize with parameter

git-svn-id: trunk@45985 -
svenbarth 5 years ago
parent
commit
08949c86bf
1 changed files with 5 additions and 0 deletions
  1. 5 0
      rtl/gba/system.pp

+ 5 - 0
rtl/gba/system.pp

@@ -115,6 +115,11 @@ begin
   RandSeed := 63458;
   RandSeed := 63458;
 end;
 end;
 
 
+procedure randomize(value: integer);
+begin
+  RandSeed := value;
+end;
+
 {$ifdef FPC_HAS_FEATURE_COMMANDARGS}
 {$ifdef FPC_HAS_FEATURE_COMMANDARGS}
 { number of args }
 { number of args }
 function paramcount : longint;
 function paramcount : longint;