From 0306556032fabeb587975bc1c05f23762fa1f7f1 Mon Sep 17 00:00:00 2001 From: Aurora Date: Tue, 15 Nov 2016 19:45:27 +0100 Subject: [PATCH] Fix derp (2) --- source/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fs.c b/source/fs.c index 45d8fce..e1c9105 100644 --- a/source/fs.c +++ b/source/fs.c @@ -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);