GameList: Add dedicated gameicons directory
This commit is contained in:
@@ -130,6 +130,13 @@ void SaveCustomTitleForPath(const std::string& path, const std::string& custom_t
|
||||
void SaveCustomRegionForPath(const std::string& path, const std::optional<DiscRegion> custom_region);
|
||||
std::string GetCustomTitleForPath(const std::string_view path);
|
||||
std::optional<DiscRegion> GetCustomRegionForPath(const std::string_view path);
|
||||
|
||||
/// The purpose of this cache is to stop us trying to constantly extract memory card icons, when we know a game
|
||||
/// doesn't have any saves yet. It caches the serial:memcard_timestamp pair, and only tries extraction when the
|
||||
/// timestamp of the memory card has changed.
|
||||
std::string GetGameIconPath(std::string_view serial, std::string_view path);
|
||||
void ReloadMemcardTimestampCache();
|
||||
|
||||
}; // namespace GameList
|
||||
|
||||
namespace Host {
|
||||
|
||||
Reference in New Issue
Block a user