loader: Clean up ctors and includes.

This commit is contained in:
bunnei 2018-01-20 15:48:37 -05:00
parent e75aba3ed0
commit 386df282a3
10 changed files with 22 additions and 18 deletions

View file

@ -364,6 +364,9 @@ SectionID ElfReader::GetSectionByName(const char* name, int firstSection) const
namespace Loader {
AppLoader_ELF::AppLoader_ELF(FileUtil::IOFile&& file, std::string filename)
: AppLoader(std::move(file)), filename(std::move(filename)) {}
FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file, const std::string&) {
static constexpr u16 ELF_MACHINE_ARM{0x28};