summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/patch_manager.h
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-05-28 05:12:56 +0200
committerlat9nq <lat9nq@virginia.edu>2020-05-28 05:12:56 +0200
commit136c563f76f68f83fc30984097b459f80becdef4 (patch)
tree041c76fb42f36aa46d4d5a18398fcf6fc7e2d089 /src/core/file_sys/patch_manager.h
parentMerge pull request #3946 from ogniK5377/sysverdat-10-0-2 (diff)
downloadyuzu-136c563f76f68f83fc30984097b459f80becdef4.tar
yuzu-136c563f76f68f83fc30984097b459f80becdef4.tar.gz
yuzu-136c563f76f68f83fc30984097b459f80becdef4.tar.bz2
yuzu-136c563f76f68f83fc30984097b459f80becdef4.tar.lz
yuzu-136c563f76f68f83fc30984097b459f80becdef4.tar.xz
yuzu-136c563f76f68f83fc30984097b459f80becdef4.tar.zst
yuzu-136c563f76f68f83fc30984097b459f80becdef4.zip
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
-rw-r--r--src/core/file_sys/patch_manager.h5
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..a1fb6694d 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,
+ const std::string& name);
+
// A centralized class to manage patches to games.
class PatchManager {
public: