mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
DiscIO: Add Volume::IsDatelDisc
This commit is contained in:
@ -62,10 +62,7 @@ std::string VolumeGC::GetGameTDBID(const Partition& partition) const
|
||||
const std::string game_id = GetGameID(partition);
|
||||
|
||||
// Don't return an ID for Datel discs that are using the game ID of NHL Hitz 2002
|
||||
if (game_id == "GNHE5d" && !GetBootDOLOffset(*this, partition).has_value())
|
||||
return "";
|
||||
|
||||
return game_id;
|
||||
return game_id == "GNHE5d" && IsDatelDisc() ? "" : game_id;
|
||||
}
|
||||
|
||||
Region VolumeGC::GetRegion() const
|
||||
@ -135,6 +132,11 @@ Platform VolumeGC::GetVolumeType() const
|
||||
return Platform::GameCubeDisc;
|
||||
}
|
||||
|
||||
bool VolumeGC::IsDatelDisc() const
|
||||
{
|
||||
return !GetBootDOLOffset(*this, PARTITION_NONE).has_value();
|
||||
}
|
||||
|
||||
VolumeGC::ConvertedGCBanner VolumeGC::LoadBannerFile() const
|
||||
{
|
||||
GCBanner banner_file;
|
||||
|
Reference in New Issue
Block a user