mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 15:19:53 -06:00
NWifi: correctly determine ROM/chip/etc IDs based on hardware version (as specified in firmware).
fixes #700
This commit is contained in:
@ -241,6 +241,7 @@ void SetupDirectBoot()
|
||||
|
||||
u8 GetConsoleType() { return Firmware[0x1D]; }
|
||||
u8 GetWifiVersion() { return Firmware[0x2F]; }
|
||||
u8 GetNWifiVersion() { return Firmware[0x1FD]; } // for DSi; will return 0xFF on a DS
|
||||
u8 GetRFVersion() { return Firmware[0x40]; }
|
||||
u8* GetWifiMAC() { return &Firmware[0x36]; }
|
||||
|
||||
|
Reference in New Issue
Block a user