mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Implement ethernet address determination
This commit is contained in:
parent
1393bb2caf
commit
9e14d240a8
6 changed files with 118 additions and 7 deletions
|
|
@ -193,8 +193,7 @@ error_code cellNetCtlGetInfo(s32 code, vm::ptr<CellNetCtlInfo> info)
|
|||
|
||||
if (code == CELL_NET_CTL_INFO_ETHER_ADDR)
|
||||
{
|
||||
// dummy values set
|
||||
std::memset(info->ether_addr.data, 0xFF, sizeof(info->ether_addr.data));
|
||||
memcpy(info->ether_addr.data, nph->get_ether_addr().data(), 6);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue