aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/misc.c')
-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
}