mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
libusb: support hotplug (#16580)
This commit is contained in:
parent
ba702509c8
commit
e2bbaa2430
19 changed files with 471 additions and 241 deletions
|
|
@ -637,6 +637,8 @@ void pad_thread::UnregisterLddPad(u32 handle)
|
|||
ensure(handle < m_pads.size());
|
||||
|
||||
m_pads[handle]->ldd = false;
|
||||
m_pads[handle]->m_port_status &= ~CELL_PAD_STATUS_CONNECTED;
|
||||
m_pads[handle]->m_port_status |= CELL_PAD_STATUS_ASSIGN_CHANGES;
|
||||
|
||||
num_ldd_pad--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue