mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Android: Fix country constants in CoverHelper.getRegion
This code seems to have been written as if GameFile.getCountry returns a language rather than a country, which is wrong.
This commit is contained in:
parent
ddb3bad9c9
commit
014cc02b96
@ -33,22 +33,28 @@ public final class CoverHelper
|
||||
case 2: // PAL
|
||||
switch (game.getCountry())
|
||||
{
|
||||
case 2: // German
|
||||
region = "DE";
|
||||
case 3: // Australia
|
||||
region = "AU";
|
||||
break;
|
||||
case 3: // French
|
||||
case 4: // France
|
||||
region = "FR";
|
||||
break;
|
||||
case 4: // Spanish
|
||||
region = "ES";
|
||||
case 5: // Germany
|
||||
region = "DE";
|
||||
break;
|
||||
case 5: // Italian
|
||||
case 6: // Italy
|
||||
region = "IT";
|
||||
break;
|
||||
case 6: // Dutch
|
||||
case 8: // Netherlands
|
||||
region = "NL";
|
||||
break;
|
||||
case 1: // English
|
||||
case 9: // Russia
|
||||
region = "RU";
|
||||
break;
|
||||
case 10: // Spain
|
||||
region = "ES";
|
||||
break;
|
||||
case 0: // Europe
|
||||
default:
|
||||
region = "EN";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user