Use PanicAlertT instead of PanicAlert when appropriate

I tried to change messages that contained instructions for users,
while avoiding messages that are so technical that most users
wouldn't understand them even if they were in the right language.
This commit is contained in:
JosJuice
2015-03-15 16:42:22 +01:00
parent 98ed5881ab
commit 95a2abc1ce
13 changed files with 47 additions and 56 deletions

View File

@ -107,10 +107,10 @@ void CompressedBlobReader::GetBlock(u64 block_num, u8 *out_ptr)
// First, check hash.
u32 block_hash = HashAdler32(source, comp_block_size);
if (block_hash != m_hashes[block_num])
PanicAlert("Hash of block %" PRIu64 " is %08x instead of %08x.\n"
"Your ISO, \"%s\", is corrupt.",
block_num, block_hash, m_hashes[block_num],
m_file_name.c_str());
PanicAlertT("The disc image \"%s\" is corrupt.\n"
"Hash of block %" PRIu64 " is %08x instead of %08x.",
m_file_name.c_str(),
block_num, block_hash, m_hashes[block_num]);
if (uncompressed)
{