mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DiscIO: drop unused Volume::CheckContentIntegrity() overload
The offset-based overload hasn't been in use since
f754a1a548
.
This commit is contained in:
@ -170,15 +170,6 @@ bool VolumeWAD::CheckContentIntegrity(const IOS::ES::Content& content,
|
||||
return Common::SHA1::CalculateDigest(decrypted_data.data(), content.size) == content.sha1;
|
||||
}
|
||||
|
||||
bool VolumeWAD::CheckContentIntegrity(const IOS::ES::Content& content, u64 content_offset,
|
||||
const IOS::ES::TicketReader& ticket) const
|
||||
{
|
||||
std::vector<u8> encrypted_data(Common::AlignUp(content.size, 0x40));
|
||||
if (!m_reader->Read(content_offset, encrypted_data.size(), encrypted_data.data()))
|
||||
return false;
|
||||
return CheckContentIntegrity(content, encrypted_data, ticket);
|
||||
}
|
||||
|
||||
IOS::ES::TicketReader VolumeWAD::GetTicketWithFixedCommonKey() const
|
||||
{
|
||||
if (!m_ticket.IsValid() || !m_tmd.IsValid())
|
||||
|
Reference in New Issue
Block a user