summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar Liam2023-05-26 15:41:17 -0400
committerGravatar Liam2023-05-26 16:07:38 -0400
commit0596a4afb1b3b835f3cf9912551e4fbf74c2b70b (patch)
tree8cf845f41921e64925a01a72a39970b378b9f973 /src/core/core.cpp
parentMerge pull request #10221 from Kelebek1/partial_dsp_revert (diff)
downloadyuzu-0596a4afb1b3b835f3cf9912551e4fbf74c2b70b.tar.gz
yuzu-0596a4afb1b3b835f3cf9912551e4fbf74c2b70b.tar.xz
yuzu-0596a4afb1b3b835f3cf9912551e4fbf74c2b70b.zip
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 b5f62690e..4406ae30e 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -117,8 +117,7 @@ FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs,
117 return nullptr; 117 return nullptr;
118 } 118 }
119 119
120 return FileSys::ConcatenatedVfsFile::MakeConcatenatedFile(std::move(concat), 120 return FileSys::ConcatenatedVfsFile::MakeConcatenatedFile(concat, dir->GetName());
121 dir->GetName());
122 } 121 }
123 122
124 if (Common::FS::IsDir(path)) { 123 if (Common::FS::IsDir(path)) {