mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
De-capitalized CountryCode
This commit is contained in:
@ -12,9 +12,9 @@
|
||||
// Increment CACHE_REVISION if the code below is modified (ISOFile.cpp & GameFile.cpp)
|
||||
namespace DiscIO
|
||||
{
|
||||
IVolume::ECountry CountrySwitch(u8 CountryCode)
|
||||
IVolume::ECountry CountrySwitch(u8 country_code)
|
||||
{
|
||||
switch (CountryCode)
|
||||
switch (country_code)
|
||||
{
|
||||
// Region free - Uses European flag as placeholder
|
||||
case 'A':
|
||||
@ -68,8 +68,8 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
|
||||
return IVolume::COUNTRY_TAIWAN;
|
||||
|
||||
default:
|
||||
if (CountryCode > 'A') // Silently ignore IOS wads
|
||||
WARN_LOG(DISCIO, "Unknown Country Code! %c", CountryCode);
|
||||
if (country_code > 'A') // Silently ignore IOS wads
|
||||
WARN_LOG(DISCIO, "Unknown Country Code! %c", country_code);
|
||||
return IVolume::COUNTRY_UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user