Added support for PAL-R (Russia) ISO detection. Fixes issue 2575.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6251 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2010-10-03 06:10:14 +00:00
parent aae0fa7909
commit c6fa5804de
4 changed files with 11 additions and 2 deletions

View File

@ -171,6 +171,7 @@ bool SCoreStartupParameter::AutoSetup(EBootBS2 _BootBS2)
case DiscIO::IVolume::COUNTRY_EUROPE: case DiscIO::IVolume::COUNTRY_EUROPE:
case DiscIO::IVolume::COUNTRY_FRANCE: case DiscIO::IVolume::COUNTRY_FRANCE:
case DiscIO::IVolume::COUNTRY_ITALY: case DiscIO::IVolume::COUNTRY_ITALY:
case DiscIO::IVolume::COUNTRY_RUSSIA:
bNTSC = false; bNTSC = false;
Region = EUR_DIR; Region = EUR_DIR;
break; break;

View File

@ -44,8 +44,9 @@ public:
enum ECountry enum ECountry
{ {
COUNTRY_EUROPE = 0, COUNTRY_EUROPE = 0,
COUNTRY_FRANCE = 1, COUNTRY_FRANCE,
COUNTRY_USA = 2, COUNTRY_RUSSIA,
COUNTRY_USA,
COUNTRY_JAPAN, COUNTRY_JAPAN,
COUNTRY_KOREA, COUNTRY_KOREA,
COUNTRY_ITALY, COUNTRY_ITALY,

View File

@ -44,6 +44,10 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
case 'I': case 'I':
return IVolume::COUNTRY_ITALY; return IVolume::COUNTRY_ITALY;
break; break;
case 'R':
return IVolume::COUNTRY_RUSSIA;
break;
// NTSC // NTSC
case 'E': case 'E':

View File

@ -146,6 +146,9 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
case DiscIO::IVolume::COUNTRY_ITALY: case DiscIO::IVolume::COUNTRY_ITALY:
m_Country->SetValue(wxT("ITALY")); m_Country->SetValue(wxT("ITALY"));
break; break;
case DiscIO::IVolume::COUNTRY_RUSSIA:
m_Country->SetValue(wxT("RUSSIA"));
break;
case DiscIO::IVolume::COUNTRY_USA: case DiscIO::IVolume::COUNTRY_USA:
m_Country->SetValue(wxT("USA")); m_Country->SetValue(wxT("USA"));
m_Lang->SetSelection(0); m_Lang->SetSelection(0);