mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 11:13:19 +01:00
Fix cellPadGetInfo port status returned
ASSIGN_CHANGES flag is not returned in this func.
This commit is contained in:
parent
47ca1b1dda
commit
d6025c6764
@ -577,8 +577,8 @@ error_code cellPadGetInfo(vm::ptr<CellPadInfo> info)
|
|||||||
if (i >= config->max_connect)
|
if (i >= config->max_connect)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
pads[i]->m_port_status &= ~CELL_PAD_STATUS_ASSIGN_CHANGES; // TODO: should ASSIGN flags be cleared here?
|
||||||
info->status[i] = pads[i]->m_port_status;
|
info->status[i] = pads[i]->m_port_status;
|
||||||
pads[i]->m_port_status &= ~CELL_PAD_STATUS_ASSIGN_CHANGES;
|
|
||||||
|
|
||||||
switch (pads[i]->m_class_type)
|
switch (pads[i]->m_class_type)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user