diff --git a/source/fs.c b/source/fs.c index 40daa11..8541cfd 100644 --- a/source/fs.c +++ b/source/fs.c @@ -172,7 +172,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') continue; + if(info.fname[9] != 'a' || strlen(info.fname) != 12) continue; //Convert the .app name to an integer u32 tempVersion = 0;