mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
sys_prx: more constants
This commit is contained in:
parent
4a88ffe250
commit
617d21fa84
3 changed files with 34 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ error_code sys_get_random_number(vm::ptr<void> addr, u64 size)
|
|||
{
|
||||
sysPrxForUser.warning("sys_get_random_number(addr=*0x%x, size=%d)", addr, size);
|
||||
|
||||
if (size > 0x1000)
|
||||
if (size > RANDOM_NUMBER_MAX_SIZE)
|
||||
{
|
||||
return CELL_EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue