diff options
| author | Tilka <tilkax@gmail.com> | 2020-07-04 14:07:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-04 14:07:46 +0100 |
| commit | c5a38826172d3d37a29f7a275c0007400c2fde07 (patch) | |
| tree | 1f6ea8e52094c981d31e62688e206f8f6d8239d9 /Source/Core/DiscIO/VolumeWii.cpp | |
| parent | 9c12a843f86d39bc64d9e9b5b670e67455487739 (diff) | |
| parent | fb922781e7c06c3d5e7617c0b6bc4244662cfda0 (diff) | |
Merge pull request #8929 from JosJuice/datel-covers
DiscIO: Fix downloading covers for non-GNHE5d Datel discs
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWii.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp index c17744f172..73797fe1e3 100644 --- a/Source/Core/DiscIO/VolumeWii.cpp +++ b/Source/Core/DiscIO/VolumeWii.cpp @@ -301,10 +301,6 @@ u64 VolumeWii::PartitionOffsetToRawOffset(u64 offset, const Partition& partition std::string VolumeWii::GetGameTDBID(const Partition& partition) const { - // Don't return an ID for Datel discs - if (m_game_partition == PARTITION_NONE) - return ""; - return GetGameID(partition); } @@ -338,6 +334,11 @@ Platform VolumeWii::GetVolumeType() const return Platform::WiiDisc; } +bool VolumeWii::IsDatelDisc() const +{ + return m_game_partition == PARTITION_NONE; +} + BlobType VolumeWii::GetBlobType() const { return m_reader->GetBlobType(); |
