void SConfig::SetRunningGameMetadata(const DiscIO::Volume& volume, const DiscIO::Partition& partition) { if (partition == volume.GetGamePartition()) { SetRunningGameMetadata(volume.GetGameID(), volume.GetGameTDBID(), volume.GetTitleID().value_or(0), volume.GetRevision().value_or(0)); } else { SetRunningGameMetadata(volume.GetGameID(partition), volume.GetGameTDBID(), volume.GetTitleID(partition).value_or(0), volume.GetRevision(partition).value_or(0)); } }
void SConfig::SetRunningGameMetadata(const DiscIO::Volume& volume, const DiscIO::Partition& partition) { SetRunningGameMetadata(volume.GetGameID(partition), volume.GetTitleID(partition).value_or(0), volume.GetRevision(partition).value_or(0), Core::TitleDatabase::TitleType::Other); }