mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
RetroAchievements: Add support for hashing homebrew
We finally defined a method in https://github.com/RetroAchievements/rcheevos/issues/244 .
This commit is contained in:
1 parent
31749ace67
commit
7a6d646beb
2 files changed
+45
-14
No files matched your search
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user