diff options
author | Marcus Comstedt | 2003-07-14 21:29:53 +0000 |
---|---|---|
committer | Marcus Comstedt | 2003-07-14 21:29:53 +0000 |
commit | 42d0b2e6f79378558832857b3f1ece4ea57164bf (patch) | |
tree | 5738b3b6fbaf96cc5ab9b203f4a296d35ef6901e /backends | |
parent | d31942c898435b3164aa4dbc630a447b6c3cf6a5 (diff) | |
download | scummvm-rg350-42d0b2e6f79378558832857b3f1ece4ea57164bf.tar.gz scummvm-rg350-42d0b2e6f79378558832857b3f1ece4ea57164bf.tar.bz2 scummvm-rg350-42d0b2e6f79378558832857b3f1ece4ea57164bf.zip |
Skip the "INSTALL" directory when looking for games (CoMI).
svn-id: r9024
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/selector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp index 93a59182f1..6677bb08b1 100644 --- a/backends/dc/selector.cpp +++ b/backends/dc/selector.cpp @@ -255,7 +255,7 @@ static int findGames(Game *games, int max) struct dirent *entry; while((entry = readdir(dirp))) if(entry->d_size < 0) { - if(num_dirs < MAX_DIR) { + if(num_dirs < MAX_DIR && strcasecmp(entry->d_name, "install")) { strcpy(dirs[num_dirs].name, dirs[curr_dir-1].name); if(strlen(dirs[num_dirs].name)+strlen(entry->d_name)<255) { strcat(dirs[num_dirs].name, entry->d_name); |