aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/romfs.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-25 17:26:09 -0400
committerLioncash <mathew1800@gmail.com>2018-09-25 17:40:53 -0400
commit7cab491fcb81e5d1271188cb123fe4faebdf768a (patch)
tree767c4a2d64f4f0392646720eeb5ad98e9898469b /src/core/file_sys/romfs.cpp
parentfcce94706bfdcfe610528e2d71ad67fc355a5102 (diff)
vfs_static: Remove template byte parameter from StaticVfsFile
This converts it into a regular constructor parameter. There's no need to make this a template parameter on the class when it functions perfectly well as a constructor argument. This also reduces the amount of code bloat produced by the compiler, as it doesn't need to generate the same code for multiple different instantiations of the same class type, but with a different fill value.
Diffstat (limited to 'src/core/file_sys/romfs.cpp')
-rw-r--r--src/core/file_sys/romfs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs.cpp b/src/core/file_sys/romfs.cpp
index 205284a4d1..7804ef56d1 100644
--- a/src/core/file_sys/romfs.cpp
+++ b/src/core/file_sys/romfs.cpp
@@ -134,7 +134,7 @@ VirtualFile CreateRomFS(VirtualDir dir) {
return nullptr;
RomFSBuildContext ctx{dir};
- return ConcatenateFiles<0>(ctx.Build(), dir->GetName());
+ return ConcatenateFiles(0, ctx.Build(), dir->GetName());
}
} // namespace FileSys