Merge pull request #2400 from lioncash/switch

WiiConfigPane: Handle switch cases explicitly
This commit is contained in:
Lioncash 2015-05-11 06:41:21 -04:00
commit e4f23efdf6

View File

@ -164,8 +164,10 @@ u8 WiiConfigPane::GetSADRCountryCode(DiscIO::IVolume::ELanguage language)
return 157; // China return 157; // China
case DiscIO::IVolume::LANGUAGE_KOREAN: case DiscIO::IVolume::LANGUAGE_KOREAN:
return 136; // Korea return 136; // Korea
default: case DiscIO::IVolume::LANGUAGE_UNKNOWN:
PanicAlert("Invalid language"); break;
return 1;
} }
PanicAlert("Invalid language. Defaulting to Japanese.");
return 1;
} }