summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/WiiEncryptionCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DiscIO/WiiEncryptionCache.cpp')
-rw-r--r--Source/Core/DiscIO/WiiEncryptionCache.cpp3
1 files changed, 0 insertions, 3 deletions
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<std::array<u8, VolumeWii::GROUP_TOTAL_SIZE>>();
- ASSERT(m_blob->SupportsReadWiiDecrypted());
- }
ASSERT(offset % VolumeWii::GROUP_TOTAL_SIZE == 0);
const u64 group_offset_in_partition =