Commit 4b81008b authored by Evan Ramos's avatar Evan Ramos
Browse files

random.h: Add wsrand

parent 6c289cce
......@@ -46,4 +46,9 @@ static FORCE_INLINE int32_t wrand(void)
return (wrandomseed >> 16) & 0x7FFF;
}
static FORCE_INLINE void wsrand(int seed)
{
wrandomseed = seed;
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment