aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Comstedt2003-03-07 15:26:29 +0000
committerMarcus Comstedt2003-03-07 15:26:29 +0000
commit1e0b221341c9a0a941286cfbcfeb3129bb223546 (patch)
treedabec7ce894d3c4c29a5e6b02a9da91be9411429
parent69c51886cbab4c25e682ab0ea7346b2fdf43fb02 (diff)
downloadscummvm-rg350-1e0b221341c9a0a941286cfbcfeb3129bb223546.tar.gz
scummvm-rg350-1e0b221341c9a0a941286cfbcfeb3129bb223546.tar.bz2
scummvm-rg350-1e0b221341c9a0a941286cfbcfeb3129bb223546.zip
Exclude movies from game name matching.
svn-id: r6743
-rw-r--r--backends/dc/selector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp
index b0209f83ef..c788873bb0 100644
--- a/backends/dc/selector.cpp
+++ b/backends/dc/selector.cpp
@@ -174,6 +174,8 @@ static bool isGame(const char *fn, char *base)
#else
char *dot;
if((dot = strchr(fn, '.'))!=NULL) {
+ if(!strcasecmp(dot, ".SAN"))
+ return false;
strcpy(base, fn);
base[dot-fn]='\0';
if(checkName(base))