CDVD: Touch-Up GZip logging messages.

This commit is contained in:
Ty Lamontagne 2022-06-21 18:47:45 -04:00 committed by refractionpcsx2
parent 14181ec70d
commit c8c7ac45d1
1 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ static Access* ReadIndexFromFile(const char* filename)
if (std::fread(index, sizeof(Access), 1, fp.get()) != 1 ||
datasize != static_cast<s64>(index->have) * static_cast<s64>(sizeof(Point)))
{
Console.Error("Error: unexpected size of gzip index, please delete it manually: '%s'.", filename);
Console.Error("Error: Unexpected size of gzip index, please delete it manually: '%s'.", filename);
free(index);
return 0;
}
@ -136,7 +136,7 @@ static std::string ApplyTemplate(const std::string& name, const std::string& bas
|| !canEndWithKey && first == trimmedTemplate.length() - std::strlen(INDEX_TEMPLATE_KEY))
{
Console.Error("Invalid %s template '%s'.\n"
"Template must contain exactly one '%s' and must not end with it. Abotring.",
"Template must contain exactly one '%s' and must not end with it. Aborting.",
name.c_str(), trimmedTemplate.c_str(), INDEX_TEMPLATE_KEY);
return {};
}
@ -291,7 +291,7 @@ void GzippedFileReader::AsyncPrefetchCancel()
if (!CancelIo(hOverlappedFile))
{
Console.Warning("canceling gz prefetch failed. following prefetching will not work.");
Console.Warning("Canceling gz prefetch failed. Following prefetching will not work.");
return;
}
@ -345,7 +345,7 @@ bool GzippedFileReader::OkIndex()
}
else
{
Console.Error("ERROR (%d): index could not be generated for file '%s'", len, m_filename.c_str());
Console.Error("ERROR (%d): Index could not be generated for file '%s'", len, m_filename.c_str());
free_index(index);
InitZstates();
return false;