Consistency

This commit is contained in:
Aurora
2016-12-11 19:51:11 +01:00
parent 38088e80e1
commit 2f274e2f47
3 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ static inline void pathChanger(u8 *pos)
if(path[pathSize - 1] == 0xA) pathSize--;
if(path[pathSize - 1] == 0xD) pathSize--;
if(pathSize < 6 || pathSize > 57 || path[0] != '/' || memcmp(&path[pathSize - 4], ".bin", 4) != 0) return;
if(pathSize < 6 || pathSize > 57 || path[0] != '/' || memcmp(path + pathSize - 4, ".bin", 4) != 0) return;
u16 finalPath[58];
for(u32 i = 0; i < pathSize; i++)