mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Simplify std::copy
with std::copy_n
+ a surprise `std::memcpy` in VolumeVerifier.cpp.
This commit is contained in:
@ -130,7 +130,7 @@ bool CompressedBlobReader::GetBlock(u64 block_num, u8* out_ptr)
|
||||
|
||||
if (uncompressed)
|
||||
{
|
||||
std::copy(m_zlib_buffer.begin(), m_zlib_buffer.begin() + comp_block_size, out_ptr);
|
||||
std::copy_n(m_zlib_buffer.begin(), comp_block_size, out_ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user