diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-08-23 14:20:37 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-08-23 17:02:55 -0400 |
| commit | 01d1b5cdaff6f05aa62794816547deab977256e5 (patch) | |
| tree | f4212fd69ff589b9a5957e5f4215b0b5c8771db0 /src/core/file_sys/patch_manager.h | |
| parent | 3ea3de4ecd9a03da23b9e823ecc454481a60c3b9 (diff) | |
file_sys: Replace inclusions with forward declarations where applicable
Same behavior, minus unnecessary inclusions where not necessary.
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
| -rw-r--r-- | src/core/file_sys/patch_manager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index f4cb918dd..f12d0629f 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -9,7 +9,7 @@ #include <string> #include "common/common_types.h" #include "core/file_sys/nca_metadata.h" -#include "core/file_sys/vfs.h" +#include "core/file_sys/vfs_types.h" #include "core/memory/dmnt_cheat_types.h" namespace Core { @@ -31,8 +31,7 @@ std::string FormatTitleVersion(u32 version, // 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); +VirtualDir FindSubdirectoryCaseless(VirtualDir dir, std::string_view name); // A centralized class to manage patches to games. class PatchManager { |
