1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

Fix cellPadGetInfo port status returned

ASSIGN_CHANGES flag is not returned in this func.
This commit is contained in:
eladash 2019-03-11 15:34:37 +02:00 committed by Ivan
parent 47ca1b1dda
commit d6025c6764

View File

@ -577,8 +577,8 @@ error_code cellPadGetInfo(vm::ptr<CellPadInfo> info)
if (i >= config->max_connect)
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;
pads[i]->m_port_status &= ~CELL_PAD_STATUS_ASSIGN_CHANGES;
switch (pads[i]->m_class_type)
{