aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/patch_manager.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-02 23:06:38 -0400
committerGitHub <noreply@github.com>2020-09-02 23:06:38 -0400
commit40d236b401387dd9d0b0b0db462d664879584bfe (patch)
tree24e6513f35b62fdf65f947fef1f7d991fa151a8c /src/core/file_sys/patch_manager.cpp
parentb8ce575b81b9cdfc2ace445d6fc56e165eb2a259 (diff)
parentda15e9f8a7e8c5e592f067d24b11f0f84fa99ec5 (diff)
Merge pull request #4564 from lioncash/file-include
file_sys: Replace inclusions with forward declarations where applicable
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
-rw-r--r--src/core/file_sys/patch_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index 729dbb5f44..c228d253eb 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -49,8 +49,7 @@ std::string FormatTitleVersion(u32 version, TitleVersionFormat format) {
return fmt::format("v{}.{}.{}", bytes[3], bytes[2], bytes[1]);
}
-std::shared_ptr<VfsDirectory> FindSubdirectoryCaseless(const std::shared_ptr<VfsDirectory> dir,
- std::string_view name) {
+VirtualDir FindSubdirectoryCaseless(const VirtualDir dir, std::string_view name) {
#ifdef _WIN32
return dir->GetSubdirectory(name);
#else