diff options
| author | LPFaint99 <lpfaint99@gmail.com> | 2009-03-07 18:03:53 +0000 |
|---|---|---|
| committer | LPFaint99 <lpfaint99@gmail.com> | 2009-03-07 18:03:53 +0000 |
| commit | 7455361ed2b22284947db89167977901af600d12 (patch) | |
| tree | 9f19ec4607ff61005e7b738c9258b4c09118a53e /Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp | |
| parent | c3cda83bb2732e4db27ff319678c5831508d8053 (diff) | |
Adds Italy country code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2600 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp b/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp index dfbf49f0d2..ed9a9bcf8c 100644 --- a/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp +++ b/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp @@ -90,7 +90,7 @@ CVolumeWiiCrypted::Read(u64 _ReadOffset, u64 _Length, u8* _pBuffer) const // increase buffers _Length -= CopySize; - _pBuffer += CopySize; + _pBuffer += CopySize; _ReadOffset += CopySize; } @@ -133,45 +133,49 @@ CVolumeWiiCrypted::GetCountry() const switch (CountryCode) { - case 'S': - country = COUNTRY_EUROPE; - break; // PAL // <- that is shitty :) zelda demo disc + case 'S': + country = COUNTRY_EUROPE; + break; // PAL // <- that is shitty :) zelda demo disc - case 'P': - country = COUNTRY_EUROPE; - break; // PAL + case 'P': + country = COUNTRY_EUROPE; + break; // PAL - case 'D': - country = COUNTRY_EUROPE; - break; // PAL + case 'D': + country = COUNTRY_EUROPE; + break; // PAL - case 'F': - country = COUNTRY_FRANCE; - break; // PAL + case 'F': + country = COUNTRY_FRANCE; + break; // PAL - case 'X': - country = COUNTRY_EUROPE; - break; // XIII <- uses X but is PAL rip + case 'I': + country = COUNTRY_ITALY; + break; // PAL - case 'E': - country = COUNTRY_USA; - break; // USA + case 'X': + country = COUNTRY_EUROPE; + break; // XIII <- uses X but is PAL rip - case 'J': - country = COUNTRY_JAP; - break; // JAP + case 'E': + country = COUNTRY_USA; + break; // USA + + case 'J': + country = COUNTRY_JAP; + break; // JAP case 'K': - country = COUNTRY_KOR; - break; // KOR + country = COUNTRY_KOR; + break; // KOR - case 'O': - country = COUNTRY_UNKNOWN; - break; // SDK + case 'O': + country = COUNTRY_UNKNOWN; + break; // SDK - default: - PanicAlert(StringFromFormat("Unknown Country Code!").c_str()); - break; + default: + PanicAlert(StringFromFormat("Unknown Country Code!").c_str()); + break; } return(country); |
