diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-10 22:17:24 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-10 22:17:24 +0000 |
| commit | 2975b7e2847b0197f164a3d05233546ae15c8785 (patch) | |
| tree | 229a09ecd5b5d5468bbf0b47118a791a122c870b /libpcsxcore/misc.c | |
| parent | 072c3df50910a23320ec531a8058017fd495b1c1 (diff) | |
| download | pcsxr-2975b7e2847b0197f164a3d05233546ae15c8785.tar.gz | |
misc.c
- improved PAL auto-detection
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61069 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/misc.c')
| -rw-r--r-- | libpcsxcore/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 349e4543..35b9bd7a 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -331,7 +331,8 @@ int CheckCdrom() { } if (Config.PsxAuto) { // autodetect system (pal or ntsc) - if (strstr(exename, "ES") != NULL) + if( (CdromId[2] == 'e' && CdromId[3] == 's') ||
+ (CdromId[2] == 'E' && CdromId[3] == 'S') )
Config.PsxType = PSX_TYPE_PAL; // pal else Config.PsxType = PSX_TYPE_NTSC; // ntsc } |
