diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-02 10:53:06 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-02 12:38:14 -0400 |
commit | a40537314405d62baa012836da9bba24ad4b02e5 (patch) | |
tree | e713eda9ce20870d7e803989d555e7842eab3415 /src/core/loader/loader.cpp | |
parent | 325f3e0693ab503b308d28958415de0072b46555 (diff) |
vfs_real: Forward declare IOFile
Eliminates the need to rebuild some source files if the file_util header
ever changes. This also uncovered some indirect inclusions, which have
also been fixed.
Diffstat (limited to 'src/core/loader/loader.cpp')
-rw-r--r-- | src/core/loader/loader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index c13fb49b82..5980cdb254 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -5,9 +5,9 @@ #include <memory> #include <ostream> #include <string> +#include "common/file_util.h" #include "common/logging/log.h" #include "common/string_util.h" -#include "core/file_sys/vfs_real.h" #include "core/hle/kernel/process.h" #include "core/loader/deconstructed_rom_directory.h" #include "core/loader/elf.h" @@ -144,6 +144,9 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status) { return os; } +AppLoader::AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} +AppLoader::~AppLoader() = default; + /** * Get a loader for a file with a specific type * @param file The file to load |