mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
VolumeWiiCrypted: Implement IsDiscTwo()
Allows us to check if a Wii game is marked as Disc 2.
This commit is contained in:
parent
f72a559958
commit
ede4977d12
2 changed files with 9 additions and 0 deletions
|
@ -237,6 +237,14 @@ bool CVolumeWiiCrypted::IsWiiDisc() const
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CVolumeWiiCrypted::IsDiscTwo() const
|
||||||
|
{
|
||||||
|
bool discTwo = false;
|
||||||
|
m_pReader->Read(6, 1, (u8*)&discTwo);
|
||||||
|
return discTwo;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
u64 CVolumeWiiCrypted::GetSize() const
|
u64 CVolumeWiiCrypted::GetSize() const
|
||||||
{
|
{
|
||||||
if (m_pReader)
|
if (m_pReader)
|
||||||
|
|
|
@ -34,6 +34,7 @@ public:
|
||||||
u32 GetFSTSize() const override;
|
u32 GetFSTSize() const override;
|
||||||
std::string GetApploaderDate() const override;
|
std::string GetApploaderDate() const override;
|
||||||
|
|
||||||
|
bool IsDiscTwo() const override;
|
||||||
bool IsWiiDisc() const override;
|
bool IsWiiDisc() const override;
|
||||||
bool SupportsIntegrityCheck() const override { return true; }
|
bool SupportsIntegrityCheck() const override { return true; }
|
||||||
bool CheckIntegrity() const override;
|
bool CheckIntegrity() const override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue