mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
cellSysutilRegisterCallback: fix potential read out of bounds
This commit is contained in:
parent
985b222123
commit
b01d8e01e3
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ error_code cellSysutilCheckCallback(ppu_thread& ppu)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellSysutilRegisterCallback(s32 slot, vm::ptr<CellSysutilCallback> func, vm::ptr<void> userdata)
|
||||
error_code cellSysutilRegisterCallback(u32 slot, vm::ptr<CellSysutilCallback> func, vm::ptr<void> userdata)
|
||||
{
|
||||
cellSysutil.warning("cellSysutilRegisterCallback(slot=%d, func=*0x%x, userdata=*0x%x)", slot, func, userdata);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue