ui: ignore inaccessible content path when scanning for games
This commit is contained in:
parent
81ce3f7d10
commit
5c3f66fe05
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue