mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00: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:
parent
b02653722d
commit
bb27d4cc95
11 changed files with 101 additions and 59 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue