mirror of
https://github.com/encounter/Decrypt9.git
synced 2026-07-10 03:18:50 -07:00
Fix compiling without logfile feature
This commit is contained in:
+3
-1
@@ -295,9 +295,11 @@ size_t LogWrite(const char* text)
|
||||
if (bytes_written != tlen) return 0;
|
||||
f_write(&lfile, &newline, 1, &bytes_written);
|
||||
if (bytes_written != 1) return 0;
|
||||
#endif
|
||||
|
||||
return f_size(&lfile); // return the current position
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static uint64_t ClustersToBytes(FATFS* fs, DWORD clusters)
|
||||
|
||||
Reference in New Issue
Block a user