Compare commits

..

3 Commits
v5.3 ... v5.3.1

Author SHA1 Message Date
Aurora
5a9d0e2569 Fail 2016-04-27 16:16:25 +02:00
Aurora
041ca8451e Use the older cxi, should fix NANDs with incomplete background updates 2016-04-27 15:37:13 +02:00
Aurora
2382e6d82c Fixed oversight in the injector 2016-04-27 04:52:23 +02:00
2 changed files with 5 additions and 5 deletions

View File

@@ -509,8 +509,8 @@ void patchCode(u64 progId, u8 *code, u32 size)
}
}
}
}
break;
}
break;
}
}

View File

@@ -71,7 +71,7 @@ void firmRead(void *dest, const char *firmFolder)
f_opendir(&dir, path);
u32 id = 0;
u32 id = 0xFFFFFFFF;
//Parse the target directory
while(f_readdir(&dir, &info) == FR_OK && info.fname[0])
@@ -87,8 +87,8 @@ void firmRead(void *dest, const char *firmFolder)
tempId += *tmp > '9' ? *tmp - 'A' + 10 : *tmp - '0';
}
//Found a newer cxi
if(tempId > id) id = tempId;
//Found an older cxi
if(tempId < id) id = tempId;
}
f_closedir(&dir);