mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Better implementation of revision 2cc1a97a66
. Works with .gcz files now.
This commit is contained in:
parent
f660077d06
commit
1e006b5b99
6 changed files with 16 additions and 8 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
virtual std::string GetApploaderDate() const = 0;
|
||||
virtual bool SupportsIntegrityCheck() const { return false; }
|
||||
virtual bool CheckIntegrity() const { return false; }
|
||||
virtual bool IsDiscTwo() const { return false; }
|
||||
|
||||
enum ECountry
|
||||
{
|
||||
|
|
|
@ -137,4 +137,11 @@ u64 CVolumeGC::GetSize() const
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool CVolumeGC::IsDiscTwo() const
|
||||
{
|
||||
bool discTwo;
|
||||
Read(6,1, (u8*) &discTwo);
|
||||
return discTwo;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -39,6 +39,7 @@ public:
|
|||
std::string GetApploaderDate() const;
|
||||
ECountry GetCountry() const;
|
||||
u64 GetSize() const;
|
||||
bool IsDiscTwo() const;
|
||||
|
||||
private:
|
||||
IBlobReader* m_pReader;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue