fix dsi firmware checking
This commit is contained in:
parent
1ca7b0295d
commit
7e91e1b260
|
@ -266,10 +266,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
|||
throw new InvalidOperationException("Invalid firmware length");
|
||||
}
|
||||
|
||||
if (fw.Length == 0x20000) // fw checks dont work on dsi firmware for some reason, need to check what's going wrong
|
||||
{
|
||||
NDSFirmware.MaybeWarnIfBadFw(fw, CoreComm.ShowMessage);
|
||||
}
|
||||
NDSFirmware.MaybeWarnIfBadFw(fw, CoreComm.ShowMessage);
|
||||
}
|
||||
|
||||
var error = _core.Init(
|
||||
|
|
|
@ -56,7 +56,10 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
|||
return;
|
||||
}
|
||||
|
||||
CheckDecryptedCodeChecksum(fw, warningCallback);
|
||||
if (fw.Length != 0x20000) // no code in DSi firmware
|
||||
{
|
||||
CheckDecryptedCodeChecksum(fw, warningCallback);
|
||||
}
|
||||
}
|
||||
|
||||
private static unsafe ushort Crc16(byte* data, int len, int seed)
|
||||
|
|
Loading…
Reference in New Issue