mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
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:
parent
98ed5881ab
commit
95a2abc1ce
13 changed files with 47 additions and 56 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue