mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-12 16:19:44 -06:00
Revert "monkey-patch: placeholder valid mac address returned to game"
This reverts commit b65c4519d3.
This commit is contained in:
parent
0d3c0a9dc9
commit
3e73f80c07
@ -208,9 +208,7 @@ error_code cellNetCtlGetInfo(s32 code, vm::ptr<CellNetCtlInfo> info)
|
||||
|
||||
if (code == CELL_NET_CTL_INFO_ETHER_ADDR)
|
||||
{
|
||||
// Placeholder MAC address (locally administered: 02:00:00:00:00:01)
|
||||
constexpr u8 placeholder_mac[6] = {0x02, 0x00, 0x00, 0x00, 0x00, 0x01};
|
||||
memcpy(info->ether_addr.data, placeholder_mac, 6);
|
||||
memcpy(info->ether_addr.data, nph.get_ether_addr().data(), 6);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user