summaryrefslogtreecommitdiff
path: root/src/core/loader/elf.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-20 14:55:54 -0500
committerGravatar bunnei2018-01-20 14:59:44 -0500
commit023aef053c96c92c9ea15d067f7d2cb7150585d6 (patch)
tree6b8a4c0dc9aae92ff172a2715969b8551e9d14b1 /src/core/loader/elf.cpp
parentnso: Remove code specific to directory loading. (diff)
downloadyuzu-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.cpp2
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
365namespace Loader { 365namespace Loader {
366 366
367FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file) { 367FileType 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;