From fdf27bf39022d8a96c0386cc92b6670953471089 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Sat, 11 Aug 2018 22:48:27 -0400 Subject: game_list: Split game list scans to multiple functions Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList --- src/yuzu/game_list_p.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/yuzu/game_list_p.h') diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index 8fe5e8b80..10c2ef075 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h @@ -163,10 +163,13 @@ signals: private: FileSys::VirtualFilesystem vfs; + std::map> nca_control_map; QStringList watch_list; QString dir_path; bool deep_scan; std::atomic_bool stop_processing; + void AddInstalledTitlesToGameList(); + void FillControlMap(const std::string& dir_path); void AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion = 0); }; -- cgit v1.2.3