Fix possible log formatting errors.

This commit is contained in:
C.W. Betts
2021-02-04 17:54:51 -07:00
parent 01b3b5066d
commit 662d6e9711
10 changed files with 15 additions and 15 deletions

View File

@ -85,7 +85,7 @@ void WAVWriter::WriteFrames(const s16* samples, u32 num_frames)
const u32 num_frames_written =
static_cast<u32>(std::fwrite(samples, sizeof(s16) * m_num_channels, num_frames, m_file));
if (num_frames_written != num_frames)
Log_ErrorPrintf("Only wrote %u of %u frames to output file", num_frames_written);
Log_ErrorPrintf("Only wrote %u of %u frames to output file", num_frames_written, num_frames);
m_num_frames += num_frames_written;
}
@ -112,4 +112,4 @@ bool WAVWriter::WriteHeader()
return (std::fwrite(&header, sizeof(header), 1, m_file) == 1);
}
} // namespace Common
} // namespace Common