mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Early-out checking for pinned folders
This commit is contained in:
1 parent
b15f7fd9fa
commit
767a82014a
1 file changed
+4
@@ -978,6 +978,10 @@ std::vector<Path> GameBrowser::GetPinnedPaths() const {
|
||||
#else
|
||||
static const std::string sepChars = "/\\";
|
||||
#endif
|
||||
if (g_Config.vPinnedPaths.empty()) {
|
||||
// Early-out.
|
||||
return std::vector<Path>();
|
||||
}
|
||||
|
||||
const std::string currentPath = File::ResolvePath(path_.GetPath().ToString());
|
||||
const std::vector<std::string> paths = g_Config.vPinnedPaths;
|
||||
|
||||
Reference in new issue
Block a user