mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DiscIO/VolumeWii: Decouple "is encrypted" from "is hashed"
Needed for the next commit. NFS disc images are hashed but not encrypted. While we're at it, also get rid of SupportsIntegrityCheck. It does the same thing as old IsEncryptedAndHashed and new HasWiiHashes.
This commit is contained in:
@ -925,7 +925,7 @@ ConversionResultCode WIARVZFileReader<RVZ>::SetUpDataEntriesForWriting(
|
||||
std::vector<DataEntry>* data_entries, std::vector<const FileSystem*>* partition_file_systems)
|
||||
{
|
||||
std::vector<Partition> partitions;
|
||||
if (volume && volume->IsEncryptedAndHashed())
|
||||
if (volume && volume->HasWiiHashes() && volume->HasWiiEncryption())
|
||||
partitions = volume->GetPartitions();
|
||||
|
||||
std::sort(partitions.begin(), partitions.end(),
|
||||
|
Reference in New Issue
Block a user