diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-10-03 02:04:31 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-19 20:02:07 +0200 |
commit | a25d79cfaad99e7659a8123d41dc0969e854259b (patch) | |
tree | ca5adf2b2f4e944099cbe672c0819d841294d64d /src/core/file_sys/vfs_vector.cpp | |
parent | Merge pull request #1525 from ogniK5377/block-home (diff) | |
download | yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.tar yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.tar.gz yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.tar.bz2 yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.tar.lz yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.tar.xz yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.tar.zst yuzu-a25d79cfaad99e7659a8123d41dc0969e854259b.zip |
Diffstat (limited to 'src/core/file_sys/vfs_vector.cpp')
-rw-r--r-- | src/core/file_sys/vfs_vector.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/file_sys/vfs_vector.cpp b/src/core/file_sys/vfs_vector.cpp index 389c7e003..808f31e81 100644 --- a/src/core/file_sys/vfs_vector.cpp +++ b/src/core/file_sys/vfs_vector.cpp @@ -132,11 +132,4 @@ void VectorVfsDirectory::AddFile(VirtualFile file) { void VectorVfsDirectory::AddDirectory(VirtualDir dir) { dirs.push_back(std::move(dir)); } - -bool VectorVfsDirectory::ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) { - if (!DeleteFile(file->GetName())) - return false; - dirs.emplace_back(std::move(dir)); - return true; -} } // namespace FileSys |