mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 22:05:37 +00:00
Make sure that we specify the -l flag before trying to write to a log file.
This commit is contained in:
parent
63a235958d
commit
f3c37defcc
|
@ -230,7 +230,11 @@ int main(int argc, char **argv) {
|
|||
settings.iQuality = quality;
|
||||
settings.iNumCompressions = numCompressions;
|
||||
settings.iJobSize = numJobs;
|
||||
settings.logStream = &logStream;
|
||||
if(bSaveLog) {
|
||||
settings.logStream = &logStream;
|
||||
} else {
|
||||
settings.logStream = NULL;
|
||||
}
|
||||
|
||||
CompressedImage *ci = CompressImage(&img, settings);
|
||||
if(NULL == ci) {
|
||||
|
|
Loading…
Reference in a new issue