mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
Optimize initialize UserPaths reserve count known paths
This commit is contained in:
parent
79680c50c0
commit
1e7a5d03b8
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ static auto UserPaths = [] {
|
|||
paths.insert_or_assign(shad_path, new_path);
|
||||
};
|
||||
|
||||
paths.reserve(11);
|
||||
create_path(PathType::UserDir, user_dir);
|
||||
create_path(PathType::LogDir, user_dir / LOG_DIR);
|
||||
create_path(PathType::ScreenshotsDir, user_dir / SCREENSHOTS_DIR);
|
||||
|
|
Loading…
Add table
Reference in a new issue