Qt: Allow parsing games.yml during gameplay
There is no need to restrict this anymore
This commit is contained in:
@@ -3039,9 +3039,6 @@ std::set<std::string> Emulator::GetGameDirs() const
|
|||||||
|
|
||||||
void Emulator::AddGamesFromDir(const std::string& path)
|
void Emulator::AddGamesFromDir(const std::string& path)
|
||||||
{
|
{
|
||||||
if (!IsStopped())
|
|
||||||
return;
|
|
||||||
|
|
||||||
m_games_config.set_save_on_dirty(false);
|
m_games_config.set_save_on_dirty(false);
|
||||||
|
|
||||||
// search dropped path first or else the direct parent to an elf is wrongly skipped
|
// search dropped path first or else the direct parent to an elf is wrongly skipped
|
||||||
|
|||||||
@@ -517,10 +517,7 @@ void game_list_frame::Refresh(const bool from_drive, const bool scroll_after)
|
|||||||
m_progress_dialog_timer->start();
|
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();
|
const std::string _hdd = rpcs3::utils::get_hdd0_dir();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user