mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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:
@ -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();
|
||||
|
Reference in New Issue
Block a user