diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-09-14 01:58:44 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-09-14 01:58:44 +0200 |
| commit | eee473ed5fd5615c973db32600d80c3c3e2bbefd (patch) | |
| tree | 35dae75aee95f466f8a4b59edbe18a7e77a17088 /Source/Core/DiscIO/VolumeCommon.cpp | |
| parent | 9607cc4159b382a8c8d12467fe6fe3bc0cdc1f3c (diff) | |
| parent | 4db2af2d42da5960b337e1cea8795598d4a947e8 (diff) | |
Merge pull request #1066 from lioncash/breaks
DiscIO: Remove unnecessary break statements.
Diffstat (limited to 'Source/Core/DiscIO/VolumeCommon.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeCommon.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/Core/DiscIO/VolumeCommon.cpp b/Source/Core/DiscIO/VolumeCommon.cpp index 6db8bf21f2..cc2f468b7e 100644 --- a/Source/Core/DiscIO/VolumeCommon.cpp +++ b/Source/Core/DiscIO/VolumeCommon.cpp @@ -21,7 +21,6 @@ IVolume::ECountry CountrySwitch(u8 CountryCode) // PAL case 'D': // German return IVolume::COUNTRY_GERMANY; - break; case 'X': // Used by a couple PAL games case 'Y': // German, french @@ -32,50 +31,40 @@ IVolume::ECountry CountrySwitch(u8 CountryCode) case 'P': case 'U': // Australia return IVolume::COUNTRY_EUROPE; - break; case 'F': return IVolume::COUNTRY_FRANCE; - break; case 'I': return IVolume::COUNTRY_ITALY; - break; case 'R': return IVolume::COUNTRY_RUSSIA; - break; // NTSC case 'E': case 'N': // Japanese import to USA and other NTSC regions case 'Z': // Prince Of Persia - The Forgotten Sands (WII) return IVolume::COUNTRY_USA; - break; case 'J': return IVolume::COUNTRY_JAPAN; - break; case 'K': case 'T': // Korea with English language case 'Q': // Korea with Japanese language return IVolume::COUNTRY_KOREA; - break; case 'O': return IVolume::COUNTRY_SDK; - break; case 'W': return IVolume::COUNTRY_TAIWAN; - break; default: if (CountryCode > 'A') // Silently ignore IOS wads WARN_LOG(DISCIO, "Unknown Country Code! %c", CountryCode); return IVolume::COUNTRY_UNKNOWN; - break; } } |
