diff options
author | bunnei <bunneidev@gmail.com> | 2020-05-29 04:36:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 04:36:39 +0200 |
commit | 5242b2152440af06a88f68ab0a09747b9dea643b (patch) | |
tree | df3cbbf3dee3ce8ddd30fbf79ada237fbf0e6f45 /src/core/file_sys/patch_manager.h | |
parent | Merge pull request #3993 from ReinUsesLisp/fix-zla (diff) | |
parent | Make copying directory string more concise (diff) | |
download | yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.tar yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.tar.gz yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.tar.bz2 yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.tar.lz yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.tar.xz yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.tar.zst yuzu-5242b2152440af06a88f68ab0a09747b9dea643b.zip |
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
-rw-r--r-- | src/core/file_sys/patch_manager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index ec6db524d..f4cb918dd 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -29,6 +29,11 @@ enum class TitleVersionFormat : u8 { std::string FormatTitleVersion(u32 version, TitleVersionFormat format = TitleVersionFormat::ThreeElements); +// Returns a directory with name matching name case-insensitive. Returns nullptr if directory +// doesn't have a directory with name. +std::shared_ptr<VfsDirectory> FindSubdirectoryCaseless(const std::shared_ptr<VfsDirectory> dir, + std::string_view name); + // A centralized class to manage patches to games. class PatchManager { public: |