mirror of https://github.com/PCSX2/pcsx2.git
dev9ghzdrk: Update the virtual_mac too (bridged?) Won't hurt either way!
This commit is contained in:
parent
8393ba56d6
commit
cc6ebff48e
|
@ -94,6 +94,12 @@ int pcap_io_init(char *adapter)
|
||||||
eeprom[4] = host_mac.bytes[5];
|
eeprom[4] = host_mac.bytes[5];
|
||||||
eeprom[5] = host_mac.bytes[4];
|
eeprom[5] = host_mac.bytes[4];
|
||||||
|
|
||||||
|
virtual_mac.bytes[0] = host_mac.bytes[0];
|
||||||
|
virtual_mac.bytes[1] = host_mac.bytes[1];
|
||||||
|
virtual_mac.bytes[2] = host_mac.bytes[2];
|
||||||
|
virtual_mac.bytes[3] = host_mac.bytes[3];
|
||||||
|
virtual_mac.bytes[4] = host_mac.bytes[4];
|
||||||
|
virtual_mac.bytes[5] = host_mac.bytes[5];
|
||||||
//The checksum seems to be all the values of the mac added up in 16bit chunks
|
//The checksum seems to be all the values of the mac added up in 16bit chunks
|
||||||
checksum = dev9.eeprom[0] + dev9.eeprom[1] + dev9.eeprom[2] & 0xffff;
|
checksum = dev9.eeprom[0] + dev9.eeprom[1] + dev9.eeprom[2] & 0xffff;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue