This can't happen
This commit is contained in:
parent
e11edd5dee
commit
a0325e91f9
@ -32,9 +32,10 @@ void locateEmuNand(u32 *emuHeader, FirmwareSource *nandType)
|
|||||||
fatStart;
|
fatStart;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
if(!nandSize && !sdmmc_sdcard_readsectors(0, 1, temp))
|
if(!nandSize)
|
||||||
{
|
{
|
||||||
nandSize = getMMCDevice(0)->total_size;
|
nandSize = getMMCDevice(0)->total_size;
|
||||||
|
sdmmc_sdcard_readsectors(0, 1, temp);
|
||||||
fatStart = *(u32 *)(temp + 0x1C6); //First sector of the FAT partition
|
fatStart = *(u32 *)(temp + 0x1C6); //First sector of the FAT partition
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user