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();
|
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())
|
for (SPI_Firmware::UserData& u : UserData())
|
||||||
|
|
Loading…
Reference in New Issue