diff options
| author | 2018-01-20 14:55:54 -0500 | |
|---|---|---|
| committer | 2018-01-20 14:59:44 -0500 | |
| commit | 023aef053c96c92c9ea15d067f7d2cb7150585d6 (patch) | |
| tree | 6b8a4c0dc9aae92ff172a2715969b8551e9d14b1 /src/core/loader/elf.cpp | |
| parent | nso: Remove code specific to directory loading. (diff) | |
| download | yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.gz yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.tar.xz yuzu-023aef053c96c92c9ea15d067f7d2cb7150585d6.zip | |
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 | |||
| 364 | 364 | ||
| 365 | namespace Loader { | 365 | namespace Loader { |
| 366 | 366 | ||
| 367 | FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file) { | 367 | FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file, const std::string&) { |
| 368 | static constexpr u16 ELF_MACHINE_ARM{0x28}; | 368 | static constexpr u16 ELF_MACHINE_ARM{0x28}; |
| 369 | 369 | ||
| 370 | u32 magic = 0; | 370 | u32 magic = 0; |