diff options
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWad.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 2cbfbc92fd..07c8255980 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -54,17 +54,17 @@ IVolume::ECountry CVolumeWAD::GetCountry() const return COUNTRY_UNKNOWN; // read the last digit of the titleID in the ticket - u8 CountryCode; - Read(m_tmd_offset + 0x0193, 1, &CountryCode); + u8 country_code; + Read(m_tmd_offset + 0x0193, 1, &country_code); - if (CountryCode == 2) // SYSMENU + if (country_code == 2) // SYSMENU { u16 titlever = 0; Read(m_tmd_offset + 0x01dc, 2, (u8*)&titlever); - CountryCode = GetSysMenuRegion(Common::swap16(titlever)); + country_code = GetSysMenuRegion(Common::swap16(titlever)); } - return CountrySwitch(CountryCode); + return CountrySwitch(country_code); } std::string CVolumeWAD::GetUniqueID() const |
