Qt: Allow parsing games.yml during gameplay

There is no need to restrict this anymore
This commit is contained in:
Megamouse 2023-04-26 23:13:28 +02:00
parent ad5a62b62d
commit 7bec3b30b7
2 changed files with 1 additions and 7 deletions

View file

@ -3039,9 +3039,6 @@ std::set<std::string> Emulator::GetGameDirs() const
void Emulator::AddGamesFromDir(const std::string& path)
{
if (!IsStopped())
return;
m_games_config.set_save_on_dirty(false);
// search dropped path first or else the direct parent to an elf is wrongly skipped

View file

@ -517,10 +517,7 @@ void game_list_frame::Refresh(const bool from_drive, const bool scroll_after)
m_progress_dialog_timer->start();
}
if (Emu.IsStopped())
{
Emu.AddGamesFromDir(g_cfg_vfs.get(g_cfg_vfs.games_dir, rpcs3::utils::get_emu_dir()));
}
Emu.AddGamesFromDir(g_cfg_vfs.get(g_cfg_vfs.games_dir, rpcs3::utils::get_emu_dir()));
const std::string _hdd = rpcs3::utils::get_hdd0_dir();