mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
only recalculate extended access point checksum when firmware is a DSi one
This commit is contained in:
parent
5bfe51e670
commit
6ca02aab2c
@ -364,9 +364,12 @@ void SPI_Firmware::Firmware::UpdateChecksums()
|
||||
ap.UpdateChecksum();
|
||||
}
|
||||
|
||||
for (SPI_Firmware::ExtendedWifiAccessPoint& eap : ExtendedAccessPoints())
|
||||
if (Header().ConsoleType == FirmwareConsoleType::DSi)
|
||||
{
|
||||
eap.UpdateChecksum();
|
||||
for (SPI_Firmware::ExtendedWifiAccessPoint& eap : ExtendedAccessPoints())
|
||||
{
|
||||
eap.UpdateChecksum();
|
||||
}
|
||||
}
|
||||
|
||||
for (SPI_Firmware::UserData& u : UserData())
|
||||
|
Loading…
Reference in New Issue
Block a user