diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-20 14:55:54 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-20 14:59:44 -0500 |
commit | 023aef053c96c92c9ea15d067f7d2cb7150585d6 (patch) | |
tree | 6b8a4c0dc9aae92ff172a2715969b8551e9d14b1 /src/core/loader/elf.cpp | |
parent | 2dafd0d287338981d510c19edaeb720c332a968f (diff) |
loader: Refactor to also pass filepath into IdentifyType.
Diffstat (limited to 'src/core/loader/elf.cpp')
-rw-r--r-- | src/core/loader/elf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp index 9ba913dbe..a41d0b94a 100644 --- a/src/core/loader/elf.cpp +++ b/src/core/loader/elf.cpp @@ -364,7 +364,7 @@ SectionID ElfReader::GetSectionByName(const char* name, int firstSection) const namespace Loader { -FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file) { +FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file, const std::string&) { static constexpr u16 ELF_MACHINE_ARM{0x28}; u32 magic = 0; |