ezrand fix
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
static u16 _ez_entropy = 0;
|
||||
|
||||
u16 ezrand() {
|
||||
_ez_entropy = 1 + ((_ez_entropy >> 15) | (_ez_entropy << 1));
|
||||
return ((u16) rand()) ^ _ez_entropy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user