diff options
| author | 2018-07-23 17:27:50 -0400 | |
|---|---|---|
| committer | 2018-07-23 17:29:02 -0400 | |
| commit | 1b4d0ac20e3577b8a330a1e79881edaa0dd0143a (patch) | |
| tree | ea79501fac89a18e5a71e2831948d34ae01c5320 /src/core/loader/nro.cpp | |
| parent | nro: Make bracing consistent (diff) | |
| download | yuzu-1b4d0ac20e3577b8a330a1e79881edaa0dd0143a.tar.gz yuzu-1b4d0ac20e3577b8a330a1e79881edaa0dd0143a.tar.xz yuzu-1b4d0ac20e3577b8a330a1e79881edaa0dd0143a.zip | |
nro: Replace inclusion with a forward declaration
It's sufficient to use a forward declaration instead of a direct
inclusion here.
Diffstat (limited to 'src/core/loader/nro.cpp')
| -rw-r--r-- | src/core/loader/nro.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index f6f12c31c..7d3ec2a76 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include <vector> | 6 | #include <vector> |
| 7 | 7 | ||
| 8 | #include "common/common_funcs.h" | 8 | #include "common/common_funcs.h" |
| 9 | #include "common/common_types.h" | ||
| 9 | #include "common/file_util.h" | 10 | #include "common/file_util.h" |
| 10 | #include "common/logging/log.h" | 11 | #include "common/logging/log.h" |
| 11 | #include "common/swap.h" | 12 | #include "common/swap.h" |
| @@ -106,6 +107,8 @@ AppLoader_NRO::AppLoader_NRO(FileSys::VirtualFile file) : AppLoader(file) { | |||
| 106 | } | 107 | } |
| 107 | } | 108 | } |
| 108 | 109 | ||
| 110 | AppLoader_NRO::~AppLoader_NRO() = default; | ||
| 111 | |||
| 109 | FileType AppLoader_NRO::IdentifyType(const FileSys::VirtualFile& file) { | 112 | FileType AppLoader_NRO::IdentifyType(const FileSys::VirtualFile& file) { |
| 110 | // Read NSO header | 113 | // Read NSO header |
| 111 | NroHeader nro_header{}; | 114 | NroHeader nro_header{}; |