diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-11 22:48:27 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-11 22:50:48 -0400 |
commit | fdf27bf39022d8a96c0386cc92b6670953471089 (patch) | |
tree | 9911088904c211c00e7e761140e0fe0528cd4dcd /src/yuzu/game_list_p.h | |
parent | 8f06a0f898fcade16f6ba9376cf4b72ff608f2ad (diff) |
game_list: Split game list scans to multiple functions
Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList
Diffstat (limited to 'src/yuzu/game_list_p.h')
-rw-r--r-- | src/yuzu/game_list_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<u64, std::shared_ptr<FileSys::NCA>> 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); }; |