diff options
| author | 2018-09-25 17:38:16 -0400 | |
|---|---|---|
| committer | 2018-09-25 20:06:01 -0400 | |
| commit | 28bef31ea80478fe58bc4eeaf1b245005f15b36a (patch) | |
| tree | 8ccdb13e155d15b44893a0477984cc83bdf41224 /src/core/file_sys/romfs.cpp | |
| parent | vfs_static: Remove template byte parameter from StaticVfsFile (diff) | |
| download | yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.gz yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.xz yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.zip | |
vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile
Given these are only added to the class to allow those functions to
access the private constructor, it's a better approach to just make them
static functions in the interface, to make the dependency explicit.
Diffstat (limited to 'src/core/file_sys/romfs.cpp')
| -rw-r--r-- | src/core/file_sys/romfs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs.cpp b/src/core/file_sys/romfs.cpp index 7804ef56d..5910f7046 100644 --- a/src/core/file_sys/romfs.cpp +++ b/src/core/file_sys/romfs.cpp | |||
| @@ -134,7 +134,7 @@ VirtualFile CreateRomFS(VirtualDir dir) { | |||
| 134 | return nullptr; | 134 | return nullptr; |
| 135 | 135 | ||
| 136 | RomFSBuildContext ctx{dir}; | 136 | RomFSBuildContext ctx{dir}; |
| 137 | return ConcatenateFiles(0, ctx.Build(), dir->GetName()); | 137 | return ConcatenatedVfsFile::MakeConcatenatedFile(0, ctx.Build(), dir->GetName()); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | } // namespace FileSys | 140 | } // namespace FileSys |