VolumeWiiCrypted: Decryption optimization

The block doesn't have to be read if it already is in m_pBuffer.
This commit is contained in:
JosJuice
2015-01-26 15:59:25 +01:00
parent 7df55d220f
commit 521ccd7b44
2 changed files with 18 additions and 14 deletions

View File

@ -53,7 +53,7 @@ private:
u64 m_dataOffset;
mutable u64 m_LastDecryptedBlockOffset;
mutable unsigned char m_LastDecryptedBlock[0x8000];
mutable unsigned char m_LastDecryptedBlock[0x7C00];
};
} // namespace