mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00:00
cellPad: remove unused variables
This commit is contained in:
parent
06e4b6251c
commit
6b7f4cbe17
1 changed files with 0 additions and 4 deletions
|
@ -510,8 +510,6 @@ error_code cellPadPeriphGetInfo(vm::ptr<CellPadPeriphInfo> info)
|
|||
info->max_connect = config.max_connect;
|
||||
info->system_info = rinfo.system_info;
|
||||
|
||||
const auto& pads = handler->GetPads();
|
||||
|
||||
u32 now_connect = 0;
|
||||
|
||||
for (u32 i = 0; i < CELL_PAD_MAX_PORT_NUM; ++i)
|
||||
|
@ -702,8 +700,6 @@ error_code cellPadGetInfo(vm::ptr<CellPadInfo> info)
|
|||
|
||||
u32 now_connect = 0;
|
||||
|
||||
const auto& pads = handler->GetPads();
|
||||
|
||||
for (u32 i = 0; i < CELL_MAX_PADS; ++i)
|
||||
{
|
||||
if (i >= config.get_max_connect())
|
||||
|
|
Loading…
Add table
Reference in a new issue