mirror of
https://github.com/LumaTeam/Luma3DS.git
synced 2026-02-22 01:44:38 +00:00
Fix bug in loadNintendoFirm
This commit is contained in:
parent
b15e5fa8d6
commit
043e2d2497
@ -222,7 +222,10 @@ u32 loadNintendoFirm(FirmwareType *firmType, FirmwareSource nandType, bool loadF
|
|||||||
};
|
};
|
||||||
|
|
||||||
u32 i;
|
u32 i;
|
||||||
for(i = 0; i < 4; i++) if(memcmp(firm->section[1].hash, hashes[i], 0x20) == 0) break;
|
for(i = 0; i < sizeof(hashes)/sizeof(hashes[0]); i++)
|
||||||
|
{
|
||||||
|
if(memcmp(firm->section[1].hash, hashes[i], 0x20) == 0) break;
|
||||||
|
}
|
||||||
|
|
||||||
switch(i)
|
switch(i)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user