summaryrefslogtreecommitdiff
path: root/src/core/file_sys/romfs.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-05-28 13:17:42 -0400
committerGravatar GitHub2023-05-28 13:17:42 -0400
commit93c17ee4da9ba8475d4573489eab11ff46ccfe5a (patch)
tree6c70b6145340022e7ba61d7880fefa4c5169edee /src/core/file_sys/romfs.cpp
parentMerge pull request #10464 from liamwhite/clear-cache (diff)
parentvfs_concat: fix time complexity of read (diff)
downloadyuzu-93c17ee4da9ba8475d4573489eab11ff46ccfe5a.tar.gz
yuzu-93c17ee4da9ba8475d4573489eab11ff46ccfe5a.tar.xz
yuzu-93c17ee4da9ba8475d4573489eab11ff46ccfe5a.zip
Merge pull request #10463 from liamwhite/this-is-why-we-need-g
vfs_concat: fix time complexity of read
Diffstat (limited to 'src/core/file_sys/romfs.cpp')
-rw-r--r--src/core/file_sys/romfs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs.cpp b/src/core/file_sys/romfs.cpp
index ddcfe5980..fb5683a6b 100644
--- a/src/core/file_sys/romfs.cpp
+++ b/src/core/file_sys/romfs.cpp
@@ -140,7 +140,8 @@ VirtualFile CreateRomFS(VirtualDir dir, VirtualDir ext) {
140 return nullptr; 140 return nullptr;
141 141
142 RomFSBuildContext ctx{dir, ext}; 142 RomFSBuildContext ctx{dir, ext};
143 return ConcatenatedVfsFile::MakeConcatenatedFile(0, ctx.Build(), dir->GetName()); 143 auto file_map = ctx.Build();
144 return ConcatenatedVfsFile::MakeConcatenatedFile(0, file_map, dir->GetName());
144} 145}
145 146
146} // namespace FileSys 147} // namespace FileSys