mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
Merge pull request #13095 from mitaclaw/ranges-modernization-6-n
Ranges Algorithms Modernization - N
This commit is contained in:
@ -1300,8 +1300,7 @@ void VolumeVerifier::Finish()
|
||||
{
|
||||
m_result.hashes.crc32 = std::vector<u8>(4);
|
||||
const u32 crc32_be = Common::swap32(m_crc32_context);
|
||||
const u8* crc32_be_ptr = reinterpret_cast<const u8*>(&crc32_be);
|
||||
std::copy(crc32_be_ptr, crc32_be_ptr + 4, m_result.hashes.crc32.begin());
|
||||
std::memcpy(m_result.hashes.crc32.data(), &crc32_be, 4);
|
||||
}
|
||||
|
||||
if (m_hashes_to_calculate.md5)
|
||||
|
Reference in New Issue
Block a user