Qt: async game list parsing

This commit is contained in:
Megamouse 2023-04-24 23:37:24 +02:00
parent 6c85d97d6c
commit a639772dfe
7 changed files with 434 additions and 322 deletions

View file

@ -3120,6 +3120,8 @@ void Emulator::AddGamesFromDir(const std::string& path)
// Nothing to do
}
process_qt_events();
// search direct subdirectories, that way we can drop one folder containing all games
for (auto&& dir_entry : fs::dir(path))
{
@ -3134,6 +3136,8 @@ void Emulator::AddGamesFromDir(const std::string& path)
{
// Nothing to do
}
process_qt_events();
}
m_games_config.set_save_on_dirty(true);