Minsize GW EmuNANDs don't exist

This commit is contained in:
Aurora 2016-09-14 12:01:39 +02:00
parent 724af0fdc4
commit ae7a7ba365

View File

@ -58,7 +58,7 @@ void locateEmuNand(u32 *emuHeader, FirmwareSource *nandType)
}
//Check for Gateway EmuNAND
else if(!sdmmc_sdcard_readsectors(nandOffset + nandSize, 1, temp) && *(u32 *)(temp + 0x100) == NCSD_MAGIC)
else if(i != 2 && !sdmmc_sdcard_readsectors(nandOffset + nandSize, 1, temp) && *(u32 *)(temp + 0x100) == NCSD_MAGIC)
{
emuOffset = nandOffset;
*emuHeader = nandOffset + nandSize;