Merge pull request #10313 from JosJuice/android-coverhelper-region

Android: Fix country constants in CoverHelper.getRegion
This commit is contained in:
Mai M 2021-12-31 06:02:32 -05:00 committed by GitHub
commit c2160578a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;