mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
cellGem: fix controller connection check
This commit is contained in:
parent
995e9b5f9f
commit
6de4c27b32
1 changed files with 1 additions and 1 deletions
|
@ -1356,7 +1356,7 @@ error_code cellGemReadExternalPortDeviceInfo(u32 gem_num, vm::ptr<u32> ext_id, v
|
|||
return CELL_GEM_ERROR_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if (gem.controllers[gem_num].status & CELL_GEM_STATUS_DISCONNECTED)
|
||||
if (!gem.is_controller_ready(gem_num))
|
||||
{
|
||||
return CELL_GEM_NOT_CONNECTED;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue