mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
cellPad: fix potential out of bounds read and u32 warnings
This commit is contained in:
parent
656f971823
commit
9d88102520
3 changed files with 8 additions and 8 deletions
|
|
@ -36,7 +36,7 @@ extern void sys_io_serialize(utils::serial& ar)
|
|||
g_fxo->get<libio_sys_config>().save_or_load(ar);
|
||||
}
|
||||
|
||||
extern void cellPad_NotifyStateChange(u32 index, u32 state);
|
||||
extern void cellPad_NotifyStateChange(usz index, u32 state);
|
||||
|
||||
void config_event_entry(ppu_thread& ppu)
|
||||
{
|
||||
|
|
@ -101,7 +101,7 @@ std::unique_lock<shared_mutex> lock_lv2_mutex_alike(shared_mutex& mtx, ppu_threa
|
|||
return lock;
|
||||
}
|
||||
|
||||
extern void send_sys_io_connect_event(u32 index, u32 state)
|
||||
extern void send_sys_io_connect_event(usz index, u32 state)
|
||||
{
|
||||
auto& cfg = g_fxo->get<libio_sys_config>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue