summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ConfigMain.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-03-05 12:18:53 -0500
committerLioncash <mathew1800@gmail.com>2015-03-05 12:18:53 -0500
commitb7514955e51ed2cbbcd83417817d0c87d03e7651 (patch)
tree9d43b7c2fcd5f7b7d0e2609ad436a9a10c66e75f /Source/Core/DolphinWX/ConfigMain.cpp
parentda56582ba017284fadda90d3091dc40f1784402a (diff)
parent492aa5c3915f38be7ea90f5dddd99f3244cf8914 (diff)
Merge pull request #2113 from Stevoisiak/VolumeCleanup
Basic volume code cleanup
Diffstat (limited to 'Source/Core/DolphinWX/ConfigMain.cpp')
-rw-r--r--Source/Core/DolphinWX/ConfigMain.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/Core/DolphinWX/ConfigMain.cpp b/Source/Core/DolphinWX/ConfigMain.cpp
index 6f26a692a6..a01b04ae89 100644
--- a/Source/Core/DolphinWX/ConfigMain.cpp
+++ b/Source/Core/DolphinWX/ConfigMain.cpp
@@ -1333,37 +1333,37 @@ void CConfigMain::OnConfig(wxCommandEvent&)
inline u8 CConfigMain::GetSADRCountryCode(int language)
{
//http://wiibrew.org/wiki/Country_Codes
- u8 countrycode = language;
- switch (countrycode)
+ u8 country_code = language;
+ switch (country_code)
{
case 0: //Japanese
- countrycode = 1; //Japan
+ country_code = 1; //Japan
break;
case 1: //English
- countrycode = 49; //USA
+ country_code = 49; //USA
break;
case 2: //German
- countrycode = 78; //Germany
+ country_code = 78; //Germany
break;
case 3: //French
- countrycode = 77; //France
+ country_code = 77; //France
break;
case 4: //Spanish
- countrycode = 105; //Spain
+ country_code = 105; //Spain
break;
case 5: //Italian
- countrycode = 83; //Italy
+ country_code = 83; //Italy
break;
case 6: //Dutch
- countrycode = 94; //Netherlands
+ country_code = 94; //Netherlands
break;
case 7: //Simplified Chinese
case 8: //Traditional Chinese
- countrycode = 157; //China
+ country_code = 157; //China
break;
case 9: //Korean
- countrycode = 136; //Korea
+ country_code = 136; //Korea
break;
}
- return countrycode;
+ return country_code;
}