diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-20 20:55:54 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-20 20:59:44 +0100 |
commit | 023aef053c96c92c9ea15d067f7d2cb7150585d6 (patch) | |
tree | 6b8a4c0dc9aae92ff172a2715969b8551e9d14b1 /src/core/loader/nso.cpp | |
parent | nso: Remove code specific to directory loading. (diff) | |
download | yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.gz yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.bz2 yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.lz yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.xz yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.zst yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.zip |
Diffstat (limited to '')
-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 @@ #include <vector> #include <lz4.h> - #include "common/common_funcs.h" #include "common/logging/log.h" #include "common/swap.h" @@ -47,7 +46,7 @@ struct ModHeader { }; static_assert(sizeof(ModHeader) == 0x1c, "ModHeader has incorrect size."); -FileType AppLoader_NSO::IdentifyType(FileUtil::IOFile& file) { +FileType AppLoader_NSO::IdentifyType(FileUtil::IOFile& file, const std::string&) { u32 magic = 0; file.Seek(0, SEEK_SET); if (1 != file.ReadArray<u32>(&magic, 1)) { |