From: John Hodge Date: Sun, 27 Sep 2009 05:59:26 +0000 (+0800) Subject: Changed the random values A and C X-Git-Tag: rel0.06~460 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0acfe5bc4a7d5842c1d12092ca2e9e54d3372401;p=tpg%2Facess2.git Changed the random values A and C --- diff --git a/Kernel/lib.c b/Kernel/lib.c index 8b864919..5fe74bf0 100644 --- a/Kernel/lib.c +++ b/Kernel/lib.c @@ -6,8 +6,8 @@ // === CONSTANTS === #define RANDOM_SEED 0xACE55052 -#define RANDOM_A 0x12231ADE -#define RANDOM_C 0xBEEF1BAD +#define RANDOM_A 0x00731ADE +#define RANDOM_C 0xBEEF1000 // Jan Feb Mar Apr May Jun Jul Aug Sept Oct Nov Dec const short DAYS_BEFORE[] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; #define UNIX_TO_2K ((30*365*3600*24) + (7*3600*24)) //Normal years + leap years