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:
Shawn Hoffman 2010-12-05 04:07:44 +00:00
parent 6df84ddc31
commit 3e4aa20601
1 changed files with 1 additions and 1 deletions

View File

@ -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());