summaryrefslogtreecommitdiff
path: root/src/core/loader/elf.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-04-27 19:40:46 -0700
committerGravatar GitHub2021-04-27 19:40:46 -0700
commitb096ec68cdbf6f1064a8b6b855489d38c3e59f6a (patch)
tree605b89f42d7897aac46f06add54c34201d9354bd /src/core/loader/elf.h
parentMerge pull request #6246 from lioncash/shadow (diff)
parentloader: Resolve instances of variable shadowing (diff)
downloadyuzu-b096ec68cdbf6f1064a8b6b855489d38c3e59f6a.tar.gz
yuzu-b096ec68cdbf6f1064a8b6b855489d38c3e59f6a.tar.xz
yuzu-b096ec68cdbf6f1064a8b6b855489d38c3e59f6a.zip
Merge pull request #6250 from lioncash/loader-shadow
loader: Resolve instances of variable shadowing
Diffstat (limited to 'src/core/loader/elf.h')
-rw-r--r--src/core/loader/elf.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h
index 2067932c7..2b86c0b49 100644
--- a/src/core/loader/elf.h
+++ b/src/core/loader/elf.h
@@ -20,11 +20,13 @@ public:
20 explicit AppLoader_ELF(FileSys::VirtualFile file); 20 explicit AppLoader_ELF(FileSys::VirtualFile file);
21 21
22 /** 22 /**
23 * Returns the type of the file 23 * Identifies whether or not the given file is an ELF file.
24 * @param file open file 24 *
25 * @return FileType found, or FileType::Error if this loader doesn't know it 25 * @param elf_file The file to identify.
26 *
27 * @return FileType::ELF, or FileType::Error if the file is not an ELF file.
26 */ 28 */
27 static FileType IdentifyType(const FileSys::VirtualFile& file); 29 static FileType IdentifyType(const FileSys::VirtualFile& elf_file);
28 30
29 FileType GetFileType() const override { 31 FileType GetFileType() const override {
30 return IdentifyType(file); 32 return IdentifyType(file);