summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/CompressedBlob.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-03-15 16:42:22 +0100
committerJosJuice <josjuice@gmail.com>2015-06-04 13:25:06 +0200
commit95a2abc1ce6d0d9304f32725cdf784f2e3d7d1f3 (patch)
tree48739bfd920a6fcf32379804fd6fe7e652134499 /Source/Core/DiscIO/CompressedBlob.cpp
parent98ed5881abaf1fa61c9c9638cbb093280297b8e5 (diff)
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.
Diffstat (limited to 'Source/Core/DiscIO/CompressedBlob.cpp')
-rw-r--r--Source/Core/DiscIO/CompressedBlob.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp
index 9be86c18ef..04304b7613 100644
--- a/Source/Core/DiscIO/CompressedBlob.cpp
+++ b/Source/Core/DiscIO/CompressedBlob.cpp
@@ -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)
{