aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2011-02-05 01:35:13 +0200
committernotaz2011-02-09 14:59:32 +0200
commita1dbab202586a8392c13d223161ff8fc53d90876 (patch)
tree81f0790655723b3d6b1a3c0b834496acbf605cbc /libpcsxcore
parent3e31e934ebbfa48941cdcc66e316ff743a4c908d (diff)
downloadpcsx_rearmed-a1dbab202586a8392c13d223161ff8fc53d90876.tar.gz
pcsx_rearmed-a1dbab202586a8392c13d223161ff8fc53d90876.tar.bz2
pcsx_rearmed-a1dbab202586a8392c13d223161ff8fc53d90876.zip
misc: backport pal detection from pcsxr
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c
index 1fa763f..7353c3b 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
}