summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_real.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-28 04:10:05 +0200
committerGitHub <noreply@github.com>2018-07-28 04:10:05 +0200
commitabb489418834848965f6ccb38d2cd7cf01cedf35 (patch)
treebeff5b868534a8bfb4eea7992553fa5fb5db5287 /src/core/file_sys/vfs_real.h
parentMerge pull request #845 from lioncash/nfc (diff)
parentRomFS Extraction (diff)
downloadyuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.tar
yuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.tar.gz
yuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.tar.bz2
yuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.tar.lz
yuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.tar.xz
yuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.tar.zst
yuzu-abb489418834848965f6ccb38d2cd7cf01cedf35.zip
Diffstat (limited to 'src/core/file_sys/vfs_real.h')
-rw-r--r--src/core/file_sys/vfs_real.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_real.h b/src/core/file_sys/vfs_real.h
index 2151211c9..243d58576 100644
--- a/src/core/file_sys/vfs_real.h
+++ b/src/core/file_sys/vfs_real.h
@@ -41,7 +41,7 @@ private:
// An implementation of VfsDirectory that represents a directory on the user's computer.
struct RealVfsDirectory : public VfsDirectory {
- RealVfsDirectory(const std::string& path, Mode perms);
+ RealVfsDirectory(const std::string& path, Mode perms = Mode::Read);
std::vector<std::shared_ptr<VfsFile>> GetFiles() const override;
std::vector<std::shared_ptr<VfsDirectory>> GetSubdirectories() const override;
@@ -54,6 +54,7 @@ struct RealVfsDirectory : public VfsDirectory {
bool DeleteSubdirectory(std::string_view name) override;
bool DeleteFile(std::string_view name) override;
bool Rename(std::string_view name) override;
+ std::string GetFullPath() const override;
protected:
bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override;