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_FRANCE:
case DiscIO::IVolume::COUNTRY_ITALY:
case DiscIO::IVolume::COUNTRY_RUSSIA:
bNTSC = false;
Region = EUR_DIR;
break;

View File

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

View File

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

View File

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