git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a86334e
)
Changed the random values A and C
author
John Hodge
<
[email protected]
>
Sun, 27 Sep 2009 05:59:26 +0000
(13:59 +0800)
committer
John Hodge
<
[email protected]
>
Sun, 27 Sep 2009 05:59:26 +0000
(13:59 +0800)
Kernel/lib.c
patch
|
blob
|
history
diff --git
a/Kernel/lib.c
b/Kernel/lib.c
index
8b86491
..
5fe74bf
100644
(file)
--- a/
Kernel/lib.c
+++ b/
Kernel/lib.c
@@
-6,8
+6,8
@@
// === CONSTANTS ===
#define RANDOM_SEED 0xACE55052
// === CONSTANTS ===
#define RANDOM_SEED 0xACE55052
-#define RANDOM_A 0x
122
31ADE
-#define RANDOM_C 0xBEEF1
BAD
+#define RANDOM_A 0x
007
31ADE
+#define RANDOM_C 0xBEEF1
000
// 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
// 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
UCC
git Repository :: git.ucc.asn.au