aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-26 15:41:17 -0400
committerLiam <byteslice@airmail.cc>2023-05-26 16:07:38 -0400
commit18088c67cd008359971dfd1018d56ac63ca44a02 (patch)
tree8cf845f41921e64925a01a72a39970b378b9f973 /src/core/core.cpp
parenteeef4170e347f3486fdb6ee62d5250676aab1125 (diff)
vfs_concat: fix time complexity of read
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index b5f62690e7..4406ae30e7 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -117,8 +117,7 @@ FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs,
return nullptr;
}
- return FileSys::ConcatenatedVfsFile::MakeConcatenatedFile(std::move(concat),
- dir->GetName());
+ return FileSys::ConcatenatedVfsFile::MakeConcatenatedFile(concat, dir->GetName());
}
if (Common::FS::IsDir(path)) {