diff options
author | wwylele <wwylele@gmail.com> | 2016-10-02 05:29:04 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2016-10-02 05:29:16 +0200 |
commit | 96b0e9476bdd010051bec427d365b49437801f4d (patch) | |
tree | 6a80eef8c0fbbf7e891755a102fcc8674efb1f26 /src/core/file_sys/disk_archive.cpp | |
parent | Merge pull request #2083 from yuriks/opengl-scissor-cached-rect (diff) | |
download | yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.gz yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.bz2 yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.lz yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.xz yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.zst yuzu-96b0e9476bdd010051bec427d365b49437801f4d.zip |
Diffstat (limited to 'src/core/file_sys/disk_archive.cpp')
-rw-r--r-- | src/core/file_sys/disk_archive.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/disk_archive.cpp b/src/core/file_sys/disk_archive.cpp index 0f66998e1..2f05af361 100644 --- a/src/core/file_sys/disk_archive.cpp +++ b/src/core/file_sys/disk_archive.cpp @@ -51,6 +51,10 @@ bool DiskArchive::DeleteDirectory(const Path& path) const { return FileUtil::DeleteDir(mount_point + path.AsString()); } +bool DiskArchive::DeleteDirectoryRecursively(const Path& path) const { + return FileUtil::DeleteDirRecursively(mount_point + path.AsString()); +} + ResultCode DiskArchive::CreateFile(const FileSys::Path& path, u64 size) const { std::string full_path = mount_point + path.AsString(); |