Common: Cleanup some Path constructions.

This commit is contained in:
Unknown W. Brackets committed 2021-05-14 22:48:04 -07:00
1 parent 2a9170a2ea
commit d376e67f87
13 files changed
+21 -22

No files matched your search

+1 -1
View File
@@ -1772,7 +1772,7 @@ UI::EventReturn DeveloperToolsScreen::OnCopyStatesToRoot(UI::EventParams &e) {
GetFilesInDir(savestate_dir, &files, nullptr, 0);
for (const File::FileInfo &file : files) {
Path src = Path(file.fullName);
Path src = file.fullName;
Path dst = root_dir / file.name;
INFO_LOG(SYSTEM, "Copying file '%s' to '%s'", src.c_str(), dst.c_str());
File::Copy(src, dst);