RetroAchievements: Add support for hashing homebrew

We finally defined a method in https://github.com/RetroAchievements/rcheevos/issues/244 .
This commit is contained in:
Henrik Rydgård committed 2024-04-29 20:33:23 +02:00
1 parent 31749ace67
commit 7a6d646beb
2 files changed
+45 -14

No files matched your search

+2 -2
View File
@@ -1519,9 +1519,9 @@ void Config::RemoveRecent(const std::string &file) {
private_->ResetRecentIsosThread();
std::lock_guard<std::mutex> guard(private_->recentIsosLock);
const auto &filename = File::ResolvePath(file);
const std::string filename = File::ResolvePath(file);
auto iter = std::remove_if(recentIsos.begin(), recentIsos.end(), [filename](const auto &str) {
const auto &recent = File::ResolvePath(str);
const std::string recent = File::ResolvePath(str);
return filename == recent;
});
// remove_if is weird.