diff --git a/source/fs.c b/source/fs.c index dd20a5a..67a8739 100644 --- a/source/fs.c +++ b/source/fs.c @@ -75,7 +75,8 @@ bool fileWrite(const void *buffer, const char *path, u32 size) return true; } - else if(result == FR_NO_PATH) + + if(result == FR_NO_PATH) { char folder[256]; @@ -89,7 +90,8 @@ bool fileWrite(const void *buffer, const char *path, u32 size) return fileWrite(buffer, path, size); } - else return false; + + return false; } void fileDelete(const char *path)