mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator
synced 2025-07-06 22:42:19 +08:00
SDK 1.53 update.
This commit is contained in:
@ -22,8 +22,11 @@
|
||||
static void
|
||||
randombytes(char * const buf, const size_t size)
|
||||
{
|
||||
while (!RtlGenRandom((PVOID) buf, (ULONG) size)) {
|
||||
PRINT_DEBUG("RtlGenRandom ERROR\n");
|
||||
Sleep(100);
|
||||
}
|
||||
|
||||
RtlGenRandom((PVOID) buf, (ULONG) size);
|
||||
}
|
||||
|
||||
std::string get_env_variable(std::string name)
|
||||
|
Reference in New Issue
Block a user