mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
De-capitalized CountryCode
This commit is contained in:
parent
df2f6d137e
commit
06cb85991e
10 changed files with 43 additions and 43 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue