From 01d1b5cdaff6f05aa62794816547deab977256e5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 23 Aug 2020 14:20:37 -0400 Subject: file_sys: Replace inclusions with forward declarations where applicable Same behavior, minus unnecessary inclusions where not necessary. --- src/core/file_sys/patch_manager.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/core/file_sys/patch_manager.h') 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 #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 FindSubdirectoryCaseless(const std::shared_ptr dir, - std::string_view name); +VirtualDir FindSubdirectoryCaseless(VirtualDir dir, std::string_view name); // A centralized class to manage patches to games. class PatchManager { -- cgit v1.2.3