mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 03:31:49 +01:00
[Core/MD] improved console region auto-detection for a few PAL-only games (The Smurfs Travel the World & Williams Arcade's Greatest Hits)
This commit is contained in:
parent
aabd7f8c2b
commit
34673b62ae
@ -989,6 +989,7 @@ void get_region(char *romheader)
|
|||||||
/* from Gens */
|
/* from Gens */
|
||||||
if (!memcmp(rominfo.country, "eur", 3)) country |= 8;
|
if (!memcmp(rominfo.country, "eur", 3)) country |= 8;
|
||||||
else if (!memcmp(rominfo.country, "EUR", 3)) country |= 8;
|
else if (!memcmp(rominfo.country, "EUR", 3)) country |= 8;
|
||||||
|
else if (!memcmp(rominfo.country, "Europe", 3)) country |= 8;
|
||||||
else if (!memcmp(rominfo.country, "jap", 3)) country |= 1;
|
else if (!memcmp(rominfo.country, "jap", 3)) country |= 1;
|
||||||
else if (!memcmp(rominfo.country, "JAP", 3)) country |= 1;
|
else if (!memcmp(rominfo.country, "JAP", 3)) country |= 1;
|
||||||
else if (!memcmp(rominfo.country, "usa", 3)) country |= 4;
|
else if (!memcmp(rominfo.country, "usa", 3)) country |= 4;
|
||||||
@ -1024,6 +1025,7 @@ void get_region(char *romheader)
|
|||||||
if (((strstr(rominfo.product,"T-45033") != NULL) && (rominfo.checksum == 0x0F81)) || /* Alisia Dragon (Europe) */
|
if (((strstr(rominfo.product,"T-45033") != NULL) && (rominfo.checksum == 0x0F81)) || /* Alisia Dragon (Europe) */
|
||||||
(strstr(rominfo.product,"T-69046-50") != NULL) || /* Back to the Future III (Europe) */
|
(strstr(rominfo.product,"T-69046-50") != NULL) || /* Back to the Future III (Europe) */
|
||||||
(strstr(rominfo.product,"T-120106-00") != NULL) || /* Brian Lara Cricket (Europe) */
|
(strstr(rominfo.product,"T-120106-00") != NULL) || /* Brian Lara Cricket (Europe) */
|
||||||
|
(strstr(rominfo.product,"T-97126 -50") != NULL) || /* Williams Arcade's Greatest Hits (Europe) */
|
||||||
(strstr(rominfo.product,"T-70096 -00") != NULL)) /* Muhammad Ali Heavyweight Boxing (Europe) */
|
(strstr(rominfo.product,"T-70096 -00") != NULL)) /* Muhammad Ali Heavyweight Boxing (Europe) */
|
||||||
{
|
{
|
||||||
/* need PAL settings */
|
/* need PAL settings */
|
||||||
|
Loading…
Reference in New Issue
Block a user