mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
cellPad: remove unused variables
This commit is contained in:
parent
06e4b6251c
commit
6b7f4cbe17
@ -510,8 +510,6 @@ error_code cellPadPeriphGetInfo(vm::ptr<CellPadPeriphInfo> info)
|
|||||||
info->max_connect = config.max_connect;
|
info->max_connect = config.max_connect;
|
||||||
info->system_info = rinfo.system_info;
|
info->system_info = rinfo.system_info;
|
||||||
|
|
||||||
const auto& pads = handler->GetPads();
|
|
||||||
|
|
||||||
u32 now_connect = 0;
|
u32 now_connect = 0;
|
||||||
|
|
||||||
for (u32 i = 0; i < CELL_PAD_MAX_PORT_NUM; ++i)
|
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;
|
u32 now_connect = 0;
|
||||||
|
|
||||||
const auto& pads = handler->GetPads();
|
|
||||||
|
|
||||||
for (u32 i = 0; i < CELL_MAX_PADS; ++i)
|
for (u32 i = 0; i < CELL_MAX_PADS; ++i)
|
||||||
{
|
{
|
||||||
if (i >= config.get_max_connect())
|
if (i >= config.get_max_connect())
|
||||||
|
Loading…
Reference in New Issue
Block a user