mirror of
https://github.com/SysRay/psOff_public.git
synced 2025-02-21 06:50:35 +00:00
Fix formatting check
This commit is contained in:
parent
8ed37c12b0
commit
a64b1e6d5a
@ -14,7 +14,7 @@ EXPORT SYSV_ABI int32_t sceRandomGetRandomNumber(void* buf, uint32_t size) {
|
||||
LOG_USE_MODULE(libSceRandom);
|
||||
if (size > Err::RANDOM_MAX_SIZE) {
|
||||
return EINVAL;
|
||||
}
|
||||
}
|
||||
for (uint32_t i = 0; i < size; ++i) {
|
||||
((uint8_t*)buf)[i] = std::rand() & 0xFF;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user