diff options
author | notaz | 2011-02-05 01:35:13 +0200 |
---|---|---|
committer | notaz | 2011-02-09 14:59:32 +0200 |
commit | a1dbab202586a8392c13d223161ff8fc53d90876 (patch) | |
tree | 81f0790655723b3d6b1a3c0b834496acbf605cbc | |
parent | 3e31e934ebbfa48941cdcc66e316ff743a4c908d (diff) | |
download | pcsx_rearmed-a1dbab202586a8392c13d223161ff8fc53d90876.tar.gz pcsx_rearmed-a1dbab202586a8392c13d223161ff8fc53d90876.tar.bz2 pcsx_rearmed-a1dbab202586a8392c13d223161ff8fc53d90876.zip |
misc: backport pal detection from pcsxr
-rw-r--r-- | libpcsxcore/misc.c | 2 |
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 } |