Merge pull request #1235 from lioncash/func

VolumeGC: Use regular return type declaration for GetStringDecoder
This commit is contained in:
Lioncash 2014-10-09 01:20:57 -04:00
commit 67e44c0e63

View File

@ -161,7 +161,7 @@ bool CVolumeGC::IsDiscTwo() const
return discTwo;
}
auto CVolumeGC::GetStringDecoder(ECountry country) -> StringDecoder
CVolumeGC::StringDecoder CVolumeGC::GetStringDecoder(ECountry country)
{
return (COUNTRY_JAPAN == country || COUNTRY_TAIWAN == country) ?
SHIFTJISToUTF8 : CP1252ToUTF8;