From 047bb803376a294a66bca5c9e91e23918706d151 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 29 Aug 2020 15:12:02 +0200 Subject: DiscIO: Add parameters to BlobReader::SupportsReadWiiDecrypted It's possible (but rare) for a WIA or RVZ file to support this for some partitions but not all, and for the game and the blob code to disagree on how large a partition is. --- Source/Core/DiscIO/WiiEncryptionCache.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/Core/DiscIO/WiiEncryptionCache.cpp') diff --git a/Source/Core/DiscIO/WiiEncryptionCache.cpp b/Source/Core/DiscIO/WiiEncryptionCache.cpp index 0bb892da71..52d978761e 100644 --- a/Source/Core/DiscIO/WiiEncryptionCache.cpp +++ b/Source/Core/DiscIO/WiiEncryptionCache.cpp @@ -29,10 +29,7 @@ WiiEncryptionCache::EncryptGroup(u64 offset, u64 partition_data_offset, { // Only allocate memory if this function actually ends up getting called if (!m_cache) - { m_cache = std::make_unique>(); - ASSERT(m_blob->SupportsReadWiiDecrypted()); - } ASSERT(offset % VolumeWii::GROUP_TOTAL_SIZE == 0); const u64 group_offset_in_partition = -- cgit v1.2.3