From: notaz Date: Fri, 4 Feb 2011 23:35:13 +0000 (+0200) Subject: misc: backport pal detection from pcsxr X-Git-Tag: r6~14 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1dbab202586a8392c13d223161ff8fc53d90876;p=pcsx_rearmed.git misc: backport pal detection from pcsxr --- diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 1fa763f1..7353c3b6 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -333,7 +333,7 @@ int CheckCdrom() { } if (Config.PsxAuto) { // autodetect system (pal or ntsc) - if (strstr(exename, "ES") != NULL) + if (CdromId[2] == 'e' || CdromId[2] == 'E') Config.PsxType = PSX_TYPE_PAL; // pal else Config.PsxType = PSX_TYPE_NTSC; // ntsc }