mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
fs: Use proper append operator
This commit is contained in:
@@ -64,8 +64,8 @@ std::filesystem::path MntPoints::GetHostPath(const std::string& guest_directory)
|
||||
while (!path_parts.empty()) {
|
||||
const auto& part = path_parts.back();
|
||||
const auto add_match = [&](const auto& host_part) {
|
||||
current_path += host_part;
|
||||
guest_path += part;
|
||||
current_path /= host_part;
|
||||
guest_path /= part;
|
||||
path_cache[guest_path] = current_path;
|
||||
path_parts.pop_back();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user