Add a single file that can be referenced by 'fileName' even though the real name may be different.
| 270 | |
| 271 | // Add a single file that can be referenced by 'fileName' even though the real name may be different. |
| 272 | void addSingleFilePath(const char* fileName, const char* filePath) |
| 273 | { |
| 274 | char fileNameLC[TFE_MAX_PATH]; |
| 275 | strcpy(fileNameLC, fileName); |
| 276 | __strlwr(fileNameLC); |
| 277 | |
| 278 | char filePathFixed[TFE_MAX_PATH]; |
| 279 | strcpy(filePathFixed, filePath); |
| 280 | FileUtil::fixupPath(filePathFixed); |
| 281 | |
| 282 | FileMapping mapping = { fileNameLC, filePathFixed }; |
| 283 | s_fileMappings.push_back(mapping); |
| 284 | } |
| 285 | |
| 286 | void addLocalSearchPath(const char* localSearchPath) |
| 287 | { |
no test coverage detected