mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
DolphinQt2: Show cached games before checking whether they exist on disk
DolphinWX already has this improvement in startup time, and it matters a lot when you have a large game list.
This commit is contained in:
parent
17be4c69b9
commit
68152faf43
5 changed files with 105 additions and 13 deletions
|
@ -40,8 +40,12 @@ public:
|
|||
const Core::TitleDatabase& title_database);
|
||||
|
||||
// These functions return true if the call modified the cache.
|
||||
bool Update(const std::vector<std::string>& all_game_paths);
|
||||
bool UpdateAdditionalMetadata(const Core::TitleDatabase& title_database);
|
||||
bool Update(const std::vector<std::string>& all_game_paths,
|
||||
std::function<void(const std::shared_ptr<const GameFile>&)> game_added_to_cache = {},
|
||||
std::function<void(const std::string&)> game_removed_from_cache = {});
|
||||
bool UpdateAdditionalMetadata(
|
||||
const Core::TitleDatabase& title_database,
|
||||
std::function<void(const std::shared_ptr<const GameFile>&)> game_updated = {});
|
||||
|
||||
bool Load();
|
||||
bool Save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue