Fix derp (2)

This commit is contained in:
Aurora 2016-11-15 19:45:27 +01:00
parent b093578046
commit 0306556032

View File

@ -288,7 +288,7 @@ u32 firmRead(void *dest, u32 firmType)
while(f_readdir(&dir, &info) == FR_OK && info.fname[0] != 0)
{
//Not a cxi
if(info.fname[9] == 'a' && strlen(info.fname) != 12) continue;
if(info.fname[9] != 'a' || strlen(info.fname) != 12) continue;
u32 tempVersion = hexAtoi(info.altname, 8);