From 3f066cca4af5c5fdc38f9364a045331d8aea045f Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 25 Apr 2023 04:10:40 +0200 Subject: [PATCH] Qt: fix adding vsh to gamelist --- rpcs3/rpcs3qt/game_list_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 21e3994568..09c7ab1336 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -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(); - 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 sort(m_path_entries.begin(), m_path_entries.end(), [](const path_entry& l, const path_entry& r){return l.path < r.path;});