From a1dbab202586a8392c13d223161ff8fc53d90876 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 5 Feb 2011 01:35:13 +0200 Subject: [PATCH] misc: backport pal detection from pcsxr --- libpcsxcore/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5