fix a crash that could occur in CompressedBlob.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6521 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6df84ddc31
commit
3e4aa20601
|
@ -117,7 +117,7 @@ void CompressedBlobReader::GetBlock(u64 block_num, u8 *out_ptr)
|
||||||
// First, check hash.
|
// First, check hash.
|
||||||
u32 block_hash = HashAdler32(source, comp_block_size);
|
u32 block_hash = HashAdler32(source, comp_block_size);
|
||||||
if (block_hash != hashes[block_num])
|
if (block_hash != hashes[block_num])
|
||||||
PanicAlert("Hash of block %i is %08x instead of %08x.\n"
|
PanicAlert("Hash of block %lli is %08x instead of %08x.\n"
|
||||||
"Your ISO, %s, is corrupt.",
|
"Your ISO, %s, is corrupt.",
|
||||||
block_num, block_hash, hashes[block_num],
|
block_num, block_hash, hashes[block_num],
|
||||||
file_name.c_str());
|
file_name.c_str());
|
||||||
|
|
Loading…
Reference in New Issue