mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
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:
1 parent
9c5f02fbf5
commit
ca059bc962
3 files changed
+9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user