diff options
| author | 2018-09-02 10:53:06 -0400 | |
|---|---|---|
| committer | 2018-09-02 12:38:14 -0400 | |
| commit | a40537314405d62baa012836da9bba24ad4b02e5 (patch) | |
| tree | e713eda9ce20870d7e803989d555e7842eab3415 /src/core/loader/loader.cpp | |
| parent | Merge pull request #1213 from DarkLordZach/octopath-fs (diff) | |
| download | yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.gz yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.xz yuzu-a40537314405d62baa012836da9bba24ad4b02e5.zip | |
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 c13fb49b8..5980cdb25 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -5,9 +5,9 @@ | |||
| 5 | #include <memory> | 5 | #include <memory> |
| 6 | #include <ostream> | 6 | #include <ostream> |
| 7 | #include <string> | 7 | #include <string> |
| 8 | #include "common/file_util.h" | ||
| 8 | #include "common/logging/log.h" | 9 | #include "common/logging/log.h" |
| 9 | #include "common/string_util.h" | 10 | #include "common/string_util.h" |
| 10 | #include "core/file_sys/vfs_real.h" | ||
| 11 | #include "core/hle/kernel/process.h" | 11 | #include "core/hle/kernel/process.h" |
| 12 | #include "core/loader/deconstructed_rom_directory.h" | 12 | #include "core/loader/deconstructed_rom_directory.h" |
| 13 | #include "core/loader/elf.h" | 13 | #include "core/loader/elf.h" |
| @@ -144,6 +144,9 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status) { | |||
| 144 | return os; | 144 | return os; |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | AppLoader::AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} | ||
| 148 | AppLoader::~AppLoader() = default; | ||
| 149 | |||
| 147 | /** | 150 | /** |
| 148 | * Get a loader for a file with a specific type | 151 | * Get a loader for a file with a specific type |
| 149 | * @param file The file to load | 152 | * @param file The file to load |