Adds Italy country code

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2600 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99 2009-03-07 18:03:53 +00:00
parent c3cda83bb2
commit 7455361ed2
7 changed files with 110 additions and 94 deletions

View File

@ -109,6 +109,7 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
case DiscIO::IVolume::COUNTRY_EUROPE:
case DiscIO::IVolume::COUNTRY_FRANCE:
case DiscIO::IVolume::COUNTRY_ITALY:
bNTSC = false;
Region = EUR_DIR;
break;

View File

@ -53,6 +53,7 @@ class IVolume
COUNTRY_USA = 2,
COUNTRY_JAP,
COUNTRY_KOR,
COUNTRY_ITALY,
COUNTRY_UNKNOWN,
NUMBER_OF_COUNTRIES
};

View File

@ -183,6 +183,10 @@ IVolume::ECountry CVolumeDirectory::GetCountry() const
country = COUNTRY_FRANCE;
break; // PAL
case 'I':
country = COUNTRY_ITALY;
break; // PAL
case 'X':
country = COUNTRY_EUROPE;
break; // XIII <- uses X but is PAL rip

View File

@ -104,6 +104,10 @@ IVolume::ECountry CVolumeGC::GetCountry() const
country = COUNTRY_FRANCE;
break; // PAL
case 'I':
country = COUNTRY_ITALY;
break; // PAL
case 'X':
country = COUNTRY_EUROPE;
break; // XIII <- uses X but is PAL

View File

@ -149,6 +149,10 @@ CVolumeWiiCrypted::GetCountry() const
country = COUNTRY_FRANCE;
break; // PAL
case 'I':
country = COUNTRY_ITALY;
break; // PAL
case 'X':
country = COUNTRY_EUROPE;
break; // XIII <- uses X but is PAL rip

View File

@ -110,6 +110,7 @@ void CGameListCtrl::InitBitmaps()
wxIcon iconTemp;
iconTemp.CopyFromBitmap(wxBitmap(Flag_Europe_xpm));
m_FlagImageIndex[DiscIO::IVolume::COUNTRY_EUROPE] = m_imageListSmall->Add(iconTemp);
m_FlagImageIndex[DiscIO::IVolume::COUNTRY_ITALY] = m_imageListSmall->Add(iconTemp);
iconTemp.CopyFromBitmap(wxBitmap(Flag_France_xpm));
m_FlagImageIndex[DiscIO::IVolume::COUNTRY_FRANCE] = m_imageListSmall->Add(iconTemp);
iconTemp.CopyFromBitmap(wxBitmap(Flag_USA_xpm));

View File

@ -92,6 +92,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
{
case DiscIO::IVolume::COUNTRY_EUROPE:
case DiscIO::IVolume::COUNTRY_FRANCE:
case DiscIO::IVolume::COUNTRY_ITALY:
m_Country->SetValue(wxString::FromAscii("EUR"));
break;
case DiscIO::IVolume::COUNTRY_USA: