summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/CompressedBlob.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2018-05-16 22:04:20 +0200
committerGitHub <noreply@github.com>2018-05-16 22:04:20 +0200
commit8fa8aa3e1b31078a9ccf403a41fff622f77bfcaf (patch)
tree4aa8ff271902d1dfdd57e2bdc20fdb44fdf3f95a /Source/Core/DiscIO/CompressedBlob.cpp
parent8ca1bf52c98b903caeb398c4d61964078f7b43df (diff)
parent011ee110bc2bd4783501a3a978e3206a1960aa79 (diff)
Merge pull request #6870 from lioncash/hash
Common/Hash: Namespace code under the Common namespace
Diffstat (limited to 'Source/Core/DiscIO/CompressedBlob.cpp')
-rw-r--r--Source/Core/DiscIO/CompressedBlob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp
index 285059e9c1..916773b90a 100644
--- a/Source/Core/DiscIO/CompressedBlob.cpp
+++ b/Source/Core/DiscIO/CompressedBlob.cpp
@@ -112,7 +112,7 @@ bool CompressedBlobReader::GetBlock(u64 block_num, u8* out_ptr)
}
// First, check hash.
- u32 block_hash = HashAdler32(m_zlib_buffer.data(), comp_block_size);
+ u32 block_hash = Common::HashAdler32(m_zlib_buffer.data(), comp_block_size);
if (block_hash != m_hashes[block_num])
PanicAlertT("The disc image \"%s\" is corrupt.\n"
"Hash of block %" PRIu64 " is %08x instead of %08x.",
@@ -304,7 +304,7 @@ bool CompressFileToBlob(const std::string& infile_path, const std::string& outfi
position += write_size;
- hashes[i] = HashAdler32(write_buf, write_size);
+ hashes[i] = Common::HashAdler32(write_buf, write_size);
}
header.compressed_data_size = position;