mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 04:33:49 +01:00
Common: Cleanup some Path constructions.
This commit is contained in:
1 parent
2a9170a2ea
commit
d376e67f87
13 files changed
+21
-22
No files matched your search
@@ -86,8 +86,8 @@ static std::vector<PluginInfo> FindPlugins(const std::string &gameID, const std:
|
||||
GetFilesInDir(GetSysDirectory(DIRECTORY_PLUGINS), &pluginDirs);
|
||||
|
||||
std::vector<PluginInfo> found;
|
||||
for (auto subdir : pluginDirs) {
|
||||
Path subdirFullName(subdir.fullName);
|
||||
for (const auto &subdir : pluginDirs) {
|
||||
const Path &subdirFullName = subdir.fullName;
|
||||
if (!subdir.isDirectory || !File::Exists(subdirFullName / "plugin.ini"))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in new issue
Block a user