ui: ignore inaccessible content path when scanning for games

This commit is contained in:
Flyinghead 2023-04-09 20:18:56 +02:00
parent 81ce3f7d10
commit 5c3f66fe05
1 changed files with 5 additions and 1 deletions

View File

@ -178,7 +178,11 @@ public:
arcade_game_list.clear(); arcade_game_list.clear();
for (const auto& path : config::ContentPath.get()) for (const auto& path : config::ContentPath.get())
{ {
add_game_directory(path); try {
add_game_directory(path);
} catch (const hostfs::StorageException& e) {
// ignore
}
if (!running) if (!running)
break; break;
} }