Qt: fix adding vsh to gamelist
This commit is contained in:
@@ -527,7 +527,7 @@ void game_list_frame::Refresh(const bool from_drive, const bool scroll_after)
|
|||||||
|
|
||||||
const auto dev_flash = g_cfg_vfs.get_dev_flash();
|
const auto dev_flash = g_cfg_vfs.get_dev_flash();
|
||||||
|
|
||||||
m_path_list.emplace(dev_flash + "vsh/module/vsh.self");
|
m_path_entries.emplace_back(path_entry{dev_flash + "vsh/module/vsh.self", false, false});
|
||||||
|
|
||||||
// Remove duplicates
|
// Remove duplicates
|
||||||
sort(m_path_entries.begin(), m_path_entries.end(), [](const path_entry& l, const path_entry& r){return l.path < r.path;});
|
sort(m_path_entries.begin(), m_path_entries.end(), [](const path_entry& l, const path_entry& r){return l.path < r.path;});
|
||||||
|
|||||||
Reference in New Issue
Block a user