notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e31e93
)
misc: backport pal detection from pcsxr
author
notaz
<notasas@gmail.com>
Fri, 4 Feb 2011 23:35:13 +0000
(
01:35
+0200)
committer
notaz
<notasas@gmail.com>
Wed, 9 Feb 2011 12:59:32 +0000
(14:59 +0200)
libpcsxcore/misc.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/misc.c
b/libpcsxcore/misc.c
index
1fa763f
..
7353c3b
100644
(file)
--- 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
}