mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
VolumeVerifier: Include revision when checking region mismatch
This commit is contained in:
parent
6282b0d83e
commit
97c4e8ff3a
@ -539,7 +539,6 @@ void VolumeVerifier::CheckMisc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Region region = m_volume.GetRegion();
|
const Region region = m_volume.GetRegion();
|
||||||
const Platform platform = m_volume.GetVolumeType();
|
|
||||||
|
|
||||||
if (game_id_encrypted.size() < 4)
|
if (game_id_encrypted.size() < 4)
|
||||||
{
|
{
|
||||||
@ -552,7 +551,11 @@ void VolumeVerifier::CheckMisc()
|
|||||||
country_code = game_id_encrypted[3];
|
country_code = game_id_encrypted[3];
|
||||||
else
|
else
|
||||||
country_code = static_cast<char>(m_volume.GetTitleID().value_or(0) & 0xff);
|
country_code = static_cast<char>(m_volume.GetTitleID().value_or(0) & 0xff);
|
||||||
if (CountryCodeToRegion(country_code, platform, region) != region)
|
|
||||||
|
const Platform platform = m_volume.GetVolumeType();
|
||||||
|
const std::optional<u16> revision = m_volume.GetRevision();
|
||||||
|
|
||||||
|
if (CountryCodeToRegion(country_code, platform, region, revision) != region)
|
||||||
{
|
{
|
||||||
AddProblem(Severity::Medium,
|
AddProblem(Severity::Medium,
|
||||||
Common::GetStringT(
|
Common::GetStringT(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user