| 343 | } |
| 344 | |
| 345 | std::string SystemData::getGamelistPath() |
| 346 | { |
| 347 | std::string filePath; |
| 348 | |
| 349 | filePath = mRootFolder->getPath() + "/gamelist.xml"; |
| 350 | if(fs::exists(filePath)) |
| 351 | return filePath; |
| 352 | |
| 353 | filePath = getHomePath(); |
| 354 | filePath += "/.emulationstation/"+ getName() + "/gamelist.xml"; |
| 355 | if(fs::exists(filePath)) |
| 356 | return filePath; |
| 357 | |
| 358 | return ""; |
| 359 | } |
| 360 | |
| 361 | bool SystemData::hasGamelist() |
| 362 | { |
no test coverage detected