Add Wii DVD integrity checking to Dolphin

This allows users to easily check whether their Wii dump is corrupted or not
using the Dolphin properties window. Right click on a game, Properties,
Filesystem tab, then right click on the game partition and select "Check
partition integrity".

This may have some false negatives due to the unused clusters heuristic (see
the comment in VolumeWiiCrypted.cpp). False positives are unlikely.
This commit is contained in:
Pierre Bourdon 2012-05-04 12:49:10 +02:00
commit 77f47866df
5 changed files with 146 additions and 1 deletions

View file

@ -43,6 +43,9 @@ public:
ECountry GetCountry() const;
u64 GetSize() const;
bool SupportsIntegrityCheck() const { return true; }
bool CheckIntegrity() const;
private:
IBlobReader* m_pReader;