mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01: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
@ -237,6 +237,14 @@ bool CVolumeWiiCrypted::IsWiiDisc() const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CVolumeWiiCrypted::IsDiscTwo() const
|
||||
{
|
||||
bool discTwo = false;
|
||||
m_pReader->Read(6, 1, (u8*)&discTwo);
|
||||
return discTwo;
|
||||
}
|
||||
|
||||
|
||||
u64 CVolumeWiiCrypted::GetSize() const
|
||||
{
|
||||
if (m_pReader)
|
||||
|
@ -34,6 +34,7 @@ public:
|
||||
u32 GetFSTSize() const override;
|
||||
std::string GetApploaderDate() const override;
|
||||
|
||||
bool IsDiscTwo() const override;
|
||||
bool IsWiiDisc() const override;
|
||||
bool SupportsIntegrityCheck() const override { return true; }
|
||||
bool CheckIntegrity() const override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user