summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/romfs.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-02 14:56:56 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-04 18:29:20 +0200
commitc1e069c066a609103c6b880585738ecabe48ddd2 (patch)
treebf599fa1e774ae098866d50ca5acbaf3441eb16e /src/core/file_sys/romfs.cpp
parentfsmitm_romfsbuild: Add support for stubbing and IPS patches in LFS (diff)
downloadyuzu-c1e069c066a609103c6b880585738ecabe48ddd2.tar
yuzu-c1e069c066a609103c6b880585738ecabe48ddd2.tar.gz
yuzu-c1e069c066a609103c6b880585738ecabe48ddd2.tar.bz2
yuzu-c1e069c066a609103c6b880585738ecabe48ddd2.tar.lz
yuzu-c1e069c066a609103c6b880585738ecabe48ddd2.tar.xz
yuzu-c1e069c066a609103c6b880585738ecabe48ddd2.tar.zst
yuzu-c1e069c066a609103c6b880585738ecabe48ddd2.zip
Diffstat (limited to 'src/core/file_sys/romfs.cpp')
-rw-r--r--src/core/file_sys/romfs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/romfs.cpp b/src/core/file_sys/romfs.cpp
index 5910f7046..81e1f66ac 100644
--- a/src/core/file_sys/romfs.cpp
+++ b/src/core/file_sys/romfs.cpp
@@ -129,11 +129,11 @@ VirtualDir ExtractRomFS(VirtualFile file, RomFSExtractionType type) {
return out;
}
-VirtualFile CreateRomFS(VirtualDir dir) {
+VirtualFile CreateRomFS(VirtualDir dir, VirtualDir ext) {
if (dir == nullptr)
return nullptr;
- RomFSBuildContext ctx{dir};
+ RomFSBuildContext ctx{dir, ext};
return ConcatenatedVfsFile::MakeConcatenatedFile(0, ctx.Build(), dir->GetName());
}