cellSysutilRegisterCallback: fix potential read out of bounds

This commit is contained in:
Megamouse 2022-06-14 22:04:21 +02:00
parent 985b222123
commit b01d8e01e3
1 changed files with 1 additions and 1 deletions

View File

@ -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);