Making sure the 1st 2-bits on the 1st byte of MAC address' OUI are zero to prevent issue with some games (ie. Gran Turismo)

This commit is contained in:
ANR2ME committed 2020-09-03 05:17:42 +07:00
1 parent 9c5f02fbf5
commit ca059bc962
3 files changed
+9

No files matched your search

+2
View File
@@ -609,6 +609,8 @@ static u32 sceWlanGetEtherAddr(u32 addrAddr) {
u8 *addr = Memory::GetPointer(addrAddr);
if (PPSSPP_ID > 1) {
Memory::Memset(addrAddr, PPSSPP_ID, 6);
// Making sure the 1st 2-bits on the 1st byte of OUI are zero to prevent issue with some games (ie. Gran Turismo)
addr[0] &= 0xfc;
}
else
// Read MAC Address from config