diff options
Diffstat (limited to 'src/core/loader/elf.cpp')
| -rw-r--r-- | src/core/loader/elf.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp index 9ba913dbe..2f87346d0 100644 --- a/src/core/loader/elf.cpp +++ b/src/core/loader/elf.cpp | |||
| @@ -364,7 +364,10 @@ SectionID ElfReader::GetSectionByName(const char* name, int firstSection) const | |||
| 364 | 364 | ||
| 365 | namespace Loader { | 365 | namespace Loader { |
| 366 | 366 | ||
| 367 | FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file) { | 367 | AppLoader_ELF::AppLoader_ELF(FileUtil::IOFile&& file, std::string filename) |
| 368 | : AppLoader(std::move(file)), filename(std::move(filename)) {} | ||
| 369 | |||
| 370 | FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file, const std::string&) { | ||
| 368 | static constexpr u16 ELF_MACHINE_ARM{0x28}; | 371 | static constexpr u16 ELF_MACHINE_ARM{0x28}; |
| 369 | 372 | ||
| 370 | u32 magic = 0; | 373 | u32 magic = 0; |