diff options
| author | bunnei <bunneidev@gmail.com> | 2018-01-20 15:48:37 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-20 15:54:17 -0500 |
| commit | 386df282a3ad340ddaf7ab054102858406b27198 (patch) | |
| tree | 3b7e44f33dac0384d412fed61de3c5ad40db137d /src/core/loader/nso.cpp | |
| parent | e75aba3ed0eb0933c023f955d4c2e53e58ef6a5f (diff) | |
loader: Clean up ctors and includes.
Diffstat (limited to 'src/core/loader/nso.cpp')
| -rw-r--r-- | src/core/loader/nso.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index c80f2a100..3ccbbb824 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -5,6 +5,7 @@ #include <vector> #include <lz4.h> #include "common/common_funcs.h" +#include "common/file_util.h" #include "common/logging/log.h" #include "common/swap.h" #include "core/hle/kernel/process.h" @@ -46,6 +47,9 @@ struct ModHeader { }; static_assert(sizeof(ModHeader) == 0x1c, "ModHeader has incorrect size."); +AppLoader_NSO::AppLoader_NSO(FileUtil::IOFile&& file, std::string filepath) + : AppLoader(std::move(file)), filepath(std::move(filepath)) {} + FileType AppLoader_NSO::IdentifyType(FileUtil::IOFile& file, const std::string&) { u32 magic = 0; file.Seek(0, SEEK_SET); |
