VolumeWiiCrypted: Store last decrypted offset instead of block number

This makes it unnecessary to reset m_last_decrypted_offset
when changing partition.
This commit is contained in:
JosJuice
2015-04-21 11:17:39 +02:00
parent 651340826d
commit 5c46810a36
2 changed files with 15 additions and 16 deletions

View File

@ -68,8 +68,8 @@ private:
u64 m_VolumeOffset;
u64 m_dataOffset;
mutable u64 m_LastDecryptedBlockOffset;
mutable unsigned char m_LastDecryptedBlock[BLOCK_DATA_SIZE];
mutable u64 m_last_decrypted_block;
mutable u8 m_last_decrypted_block_data[BLOCK_DATA_SIZE];
};
} // namespace