diff options
Diffstat (limited to 'src/core/loader/nso.cpp')
| -rw-r--r-- | src/core/loader/nso.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 77b4f93eb..c80f2a100 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include <vector> | 5 | #include <vector> |
| 6 | #include <lz4.h> | 6 | #include <lz4.h> |
| 7 | |||
| 8 | #include "common/common_funcs.h" | 7 | #include "common/common_funcs.h" |
| 9 | #include "common/logging/log.h" | 8 | #include "common/logging/log.h" |
| 10 | #include "common/swap.h" | 9 | #include "common/swap.h" |
| @@ -47,7 +46,7 @@ struct ModHeader { | |||
| 47 | }; | 46 | }; |
| 48 | static_assert(sizeof(ModHeader) == 0x1c, "ModHeader has incorrect size."); | 47 | static_assert(sizeof(ModHeader) == 0x1c, "ModHeader has incorrect size."); |
| 49 | 48 | ||
| 50 | FileType AppLoader_NSO::IdentifyType(FileUtil::IOFile& file) { | 49 | FileType AppLoader_NSO::IdentifyType(FileUtil::IOFile& file, const std::string&) { |
| 51 | u32 magic = 0; | 50 | u32 magic = 0; |
| 52 | file.Seek(0, SEEK_SET); | 51 | file.Seek(0, SEEK_SET); |
| 53 | if (1 != file.ReadArray<u32>(&magic, 1)) { | 52 | if (1 != file.ReadArray<u32>(&magic, 1)) { |